clk: zx296718: use builtin_platform_driver to simplify the code
PATCH 1/1 clk: zx296718: use builtin_platform_driver to simplify the code
From: Wei Yongjun <[email protected]>
Use the builtin_platform_driver() macro to make the code simpler.
Signed-off-by Wei Yongjun <[email protected]>
--- drivers/clk/zte/clk-zx296718.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
drivers/clk/zte/clk-zx296718.c +1 -5
@@ -917,8 +917,4 @@ static struct platform_driver zx_clk_driver = { }, }; -static int __init zx_clkc_init (void ) -{ -return platform_driver_register (&zx_clk_driver); -} -device_initcall (zx_clkc_init); +builtin_platform_driver (zx_clk_driver);
Stephen Boyd
AppliedPATCH 1/1 clk: zx296718: use builtin_platform_driver to simplify the code
Quoted 6 lines · Wei Yongjun
From: Wei Yongjun <[email protected]>
Use the
builtin_platform_driver()macro to make the code simpler.Signed-off-by Wei Yongjun <[email protected]>---
Applied to clk-next
Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project