projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5254223
)
clk: zx296718: use builtin_platform_driver to simplify the code
author
Wei Yongjun
<weiyongjun1@huawei.com>
Fri, 16 Sep 2016 13:03:31 +0000
(13:03 +0000)
committer
Stephen Boyd
<sboyd@codeaurora.org>
Fri, 16 Sep 2016 23:05:16 +0000
(16:05 -0700)
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>
drivers/clk/zte/clk-zx296718.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/clk/zte/clk-zx296718.c
b/drivers/clk/zte/clk-zx296718.c
index 025e324fab5c8fbe1659dbede124c37d89bcf163..b4fe8ddd7373b88cf5a773e3a00dd7d5cf5ea6fa 100644
(file)
--- a/
drivers/clk/zte/clk-zx296718.c
+++ b/
drivers/clk/zte/clk-zx296718.c
@@
-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);