[U-Boot] [PATCH v8 12/14] sf: sf_probe: Remove spi_slave pointer argument

Bin Meng
2015-12-10T01:31:35Z

On Mon, Dec 7, 2015 at 2:34 AM, Jagan Teki <jteki@openedev.com> wrote:
> 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
>
> Cc: Simon Glass <sjg@chromium.org>
> Signed-off-by: Jagan Teki <jteki@openedev.com>
> ---
> drivers/mtd/spi/sf_internal.h | 3 +--
> drivers/mtd/spi/sf_ops.c | 4 ++--
> drivers/mtd/spi/sf_probe.c | 12 +++++++-----
> 3 files changed, 10 insertions(+), 9 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>