On 6 December 2015 at 11:34, Jagan Teki <jt...@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 <s...@chromium.org>
> Signed-off-by: Jagan Teki <jt...@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: Simon Glass <s...@chromium.org>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to