Re: [PATCH 3/3] mtd: spi-nor: Introduce spi_nor_get_flash_info()

2019-07-31 Thread Boris Brezillon
On Wed, 31 Jul 2019 09:18:49 + wrote: > From: Tudor Ambarus > > Dedicate a function for getting the pointer to the flash_info > const struct. Trim a bit the spi_nor_scan() huge function. > > Signed-off-by: Tudor Ambarus Reviewed-by: Boris Brezillon > --- > drivers/mtd/spi-nor/spi-nor.

[PATCH 3/3] mtd: spi-nor: Introduce spi_nor_get_flash_info()

2019-07-31 Thread Tudor.Ambarus
From: Tudor Ambarus Dedicate a function for getting the pointer to the flash_info const struct. Trim a bit the spi_nor_scan() huge function. Signed-off-by: Tudor Ambarus --- drivers/mtd/spi-nor/spi-nor.c | 52 ++- 1 file changed, 32 insertions(+), 20 del