clk: samsung: exynos3250: convert to subsys_platform_driver_probe()
Subsystems (3)
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().
Signed-off-by Brian Masney <[email protected]>
--- drivers/clk/samsung/clk-exynos3250.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)
drivers/clk/samsung/clk-exynos3250.c +2 -6
@@ -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]>
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]>