[PATCH v1 02/14] mtd: spi-nor: slightly refactor the spi_nor_setup()
 Pratyush Yadav 
 p.yadav at ti.com
 
 Tue Feb 15 10:32:39 PST 2022
 
 
 
On 02/02/22 03:58PM, Michael Walle wrote:
> Instead of always using a function pointer (and initializing it to our
> default), just call the default function if the flash didn't set its own
> one. That will make the call flow easier to follow.
>> Also mark the parameter as optional now.
>> Signed-off-by: Michael Walle <michael at walle.cc>
Reviewed-by: Pratyush Yadav <p.yadav at ti.com>
-- 
Regards,
Pratyush Yadav
Texas Instruments Inc.
 
 
More information about the linux-mtd
mailing list