Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: zx296718: use builtin_platform_driver to simplify the code

Use the builtin_platform_driver() macro to make the code simpler.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

authored by

Wei Yongjun and committed by
Stephen Boyd
faabbe50 5254223a

+1 -5
+1 -5
drivers/clk/zte/clk-zx296718.c
··· 917 917 }, 918 918 }; 919 919 920 - static int __init zx_clkc_init(void) 921 - { 922 - return platform_driver_register(&zx_clk_driver); 923 - } 924 - device_initcall(zx_clkc_init); 920 + builtin_platform_driver(zx_clk_driver);