[PATCH v22 12/18] memory: pl353-smc: Let lower level controller drivers handle inits
Krzysztof Kozlowski
krzysztof.kozlowski at canonical.com
Wed Jun 9 04:54:24 PDT 2021
On 09/06/2021 10:01, Miquel Raynal wrote:
> There is no point in having all these definitions at the SMC bus level,
> these are extremely tight to the NAND controller driver implementation,
> are not particularly generic, imply more boilerplate than needed, do
> not really follow the device model by receiving no argument and some of
> them are actually buggy.
>
> Let's get rid of these right now as there is no current user and keep
> this driver at a simple level: only the SMC bare initializations.
>
> The NAND controller driver which I am going to introduce will take care
> of redefining properly all these helpers and using them directly.
>
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
> ---
> drivers/memory/pl353-smc.c | 294 -------------------------------------
> include/linux/pl353-smc.h | 30 ----
> 2 files changed, 324 deletions(-)
> delete mode 100644 include/linux/pl353-smc.h
>
I see you remove here a bunch of code. Are the series still fully
bisectable?
Best regards,
Krzysztof
More information about the linux-mtd
mailing list