Skip to contentSkip to conversation

clk: samsung: exynos3250: convert to subsys_platform_driver_probe()

PATCH Applied Brian Masney 2 participants 2 messages Nov 6 – Nov 9

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: samsung: exynos3250: convert to subsys_platform_driver_probe()

Reduce boilerplate code in this driver and convert it over to use the macro subsys_platform_driver_probe().

---
 drivers/clk/samsung/clk-exynos3250.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
drivers/clk/samsung/clk-exynos3250.c +2 -6
index 32d12658e1a9..bf36d2f2a3f8 100644
@@ -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,

Signature · 1 line
Brian Masney <[email protected]>
maintainer Applied
#1 lore raw
Quoted 2 lines · Brian Masney

Reduce boilerplate code in this driver and convert it over to use the macro subsys_platform_driver_probe().

Applied, thanks!

[1/1] clk: samsung: exynos3250: convert to subsys_platform_driver_probe()
(no commit info)

Best regards,

Signature · 1 line
Krzysztof Kozlowski <[email protected]>