* [PATCH] clk: samsung: exynos3250: convert to subsys_platform_driver_probe()
@ 2026-11-06 1:29 Brian Masney
0 siblings, 0 replies; only message in thread
From: Brian Masney @ 2026-11-06 1:29 UTC (permalink / raw)
To: Krzysztof Kozlowski, Sylwester Nawrocki, Chanwoo Choi,
Peter Griffin, Alim Akhtar, Stephen Boyd, Brian Masney,
Jerome Brunet
Cc: linux-samsung-soc, linux-clk, linux-arm-kernel, linux-kernel,
Brian Masney
Reduce boilerplate code in this driver and convert it over to use the
macro subsys_platform_driver_probe().
Signed-off-by: Brian Masney <bmasney@redhat.com>
---
drivers/clk/samsung/clk-exynos3250.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/clk/samsung/clk-exynos3250.c b/drivers/clk/samsung/clk-exynos3250.c
index 32d12658e1a9..bf36d2f2a3f8 100644
--- a/drivers/clk/samsung/clk-exynos3250.c
+++ b/drivers/clk/samsung/clk-exynos3250.c
@@ -1093,10 +1093,6 @@ static struct platform_driver exynos3250_cmu_isp_driver __initdata = {
},
};
-static int __init exynos3250_cmu_platform_init(void)
-{
- return platform_driver_probe(&exynos3250_cmu_isp_driver,
- exynos3250_cmu_isp_probe);
-}
-subsys_initcall(exynos3250_cmu_platform_init);
+subsys_platform_driver_probe(exynos3250_cmu_isp_driver,
+ exynos3250_cmu_isp_probe);
---
base-commit: ddfe51b0a0f5dc9e415cc2c8ad8db17532dd426b
base-tree: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
change-id: 20261105-clk-subsys-d2d9d8338ca2
Best regards,
--
Brian Masney <bmasney@redhat.com>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-06 1:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-06 1:29 [PATCH] clk: samsung: exynos3250: convert to subsys_platform_driver_probe() Brian Masney
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®