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

Simon Glass sjg at chromium.org
Wed Dec 9 05:53:54 CET 2015


On 6 December 2015 at 11:34, Jagan Teki <jteki at 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 at chromium.org>
> Signed-off-by: Jagan Teki <jteki at 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 <sjg at chromium.org>


More information about the U-Boot mailing list