mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] memory: emif: ifdefs and platform_driver_probe()
@ 2023-12-17 19:31 Uwe Kleine-König
  2023-12-17 19:31 ` [PATCH 1/3] memory: emif: Simplify code handling CONFIG_DEBUG_FS Uwe Kleine-König
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Uwe Kleine-König @ 2023-12-17 19:31 UTC (permalink / raw)
  To: Santosh Shilimkar, Krzysztof Kozlowski; +Cc: kernel, linux-kernel

Hello,

while preparing the series to convert the platform drivers below
drivers/memory to use .remove_new()[1], I noticed that the emif driver
unnecessarily uses some #ifdefs and doesn't use platform_driver_probe()
correctly. Note there is a conflict between these series. Tell me if you
need support to resolve this.

The alternative to the third patch is to do s/__init_or_module/__init/
in the driver and mark emif_driver with __refdata.

Best regards
Uwe

[1] https://lore.kernel.org/r/cover.1702822744.git.u.kleine-koenig@pengutronix.de 

Uwe Kleine-König (3):
  memory: emif: Simplify code handling CONFIG_DEBUG_FS
  memory: emif: Simplify code handling CONFIG_OF
  memory: emif: Drop usage of platform_driver_probe()

 drivers/memory/emif.c | 63 ++++++++++++++++---------------------------
 1 file changed, 23 insertions(+), 40 deletions(-)

base-commit: 17cb8a20bde66a520a2ca7aad1063e1ce7382240
-- 
2.42.0

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-01-23 15:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-17 19:31 [PATCH 0/3] memory: emif: ifdefs and platform_driver_probe() Uwe Kleine-König
2023-12-17 19:31 ` [PATCH 1/3] memory: emif: Simplify code handling CONFIG_DEBUG_FS Uwe Kleine-König
2024-01-23 15:18   ` Krzysztof Kozlowski
2023-12-17 19:31 ` [PATCH 2/3] memory: emif: Simplify code handling CONFIG_OF Uwe Kleine-König
2024-01-23 15:18   ` Krzysztof Kozlowski
2023-12-17 19:31 ` [PATCH 3/3] memory: emif: Drop usage of platform_driver_probe() Uwe Kleine-König
2024-01-23 15:17   ` Krzysztof Kozlowski
2023-12-21 20:46 ` [PATCH 0/3] memory: emif: ifdefs and platform_driver_probe() Krzysztof Kozlowski
2023-12-21 21:25   ` Uwe Kleine-König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®