sf: sf_probe: Remove spi_slave pointer argument
authorJagan Teki <jteki@openedev.com>
Sun, 6 Dec 2015 16:03:32 +0000 (21:33 +0530)
committerJagan Teki <jteki@openedev.com>
Fri, 11 Dec 2015 16:42:24 +0000 (22:12 +0530)
commitbfdb07eb4b7547ba63bc71c48be8459538f2d781
treeb79e76aa06513bbddb8bb4bd642eca50f87c740f
parentb6a2c436e0010f80693f1c22d429c969b67792fd
sf: sf_probe: Remove spi_slave pointer argument

Since spi_slave is a spi pointer in spi_flash{} then assign
spi_slave{} pointer to flash->spi and remove spi_slave
pointer argument to
- spi_flash_probe_slave
- spi_flash_scan

Tested-by: Jagan Teki <jteki@openedev.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/mtd/spi/sf_internal.h
drivers/mtd/spi/sf_ops.c
drivers/mtd/spi/sf_probe.c