Re: [PATCH v1 02/14] mtd: spi-nor: slightly refactor the spi_nor_setup()

From: Pratyush Yadav
Date: Tue Feb 15 2022 - 13:32:51 EST


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@xxxxxxxx>

Reviewed-by: Pratyush Yadav <p.yadav@xxxxxx>

--
Regards,
Pratyush Yadav
Texas Instruments Inc.