]> git.baikalelectronics.ru Git - kernel.git/commit
memory: pl353-smc: Let lower level controller drivers handle inits
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 10 Jun 2021 08:20:34 +0000 (10:20 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Thu, 10 Jun 2021 15:15:16 +0000 (17:15 +0200)
commit9df28d1f413a2969171e9ae04a25d0c646437c97
treed415650e85c6f4e3f59081b78052a32661203b6a
parentaaeed5d8c079a91753e9521ca338ca449431ea95
memory: pl353-smc: Let lower level controller drivers handle inits

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@bootlin.com>
Link: https://lore.kernel.org/r/20210610082040.2075611-13-miquel.raynal@bootlin.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
drivers/memory/pl353-smc.c
include/linux/pl353-smc.h [deleted file]