Re: [RESEND PATCH v3 02/20] mtd: spi-nor: Use nor->params

2019-08-26 Thread Vignesh Raghavendra
On 26/08/19 5:38 PM, tudor.amba...@microchip.com wrote: > From: Tudor Ambarus > > The Flash parameters and settings are now stored in 'struct spi_nor'. > Use this instead of the stack allocated params. > > Few functions stop passing pointer to params, as they can get it from > 'struct spi_nor

[RESEND PATCH v3 02/20] mtd: spi-nor: Use nor->params

2019-08-26 Thread Tudor.Ambarus
From: Tudor Ambarus The Flash parameters and settings are now stored in 'struct spi_nor'. Use this instead of the stack allocated params. Few functions stop passing pointer to params, as they can get it from 'struct spi_nor'. spi_nor_parse_sfdp() and children will keep passing pointer to params