[U-Boot] [PATCH v8 12/14] sf: sf_probe: Remove spi_slave pointer argument
Bin Meng
bmeng.cn at gmail.com
Thu Dec 10 02:31:35 CET 2015
On Mon, Dec 7, 2015 at 2:34 AM, 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: Bin Meng <bmeng.cn at gmail.com>
Tested-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list