projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de64f5c
)
meson: clk: Use builtin_platform_driver to simplify the code
author
Wei Yongjun
<weiyongjun1@huawei.com>
Sat, 10 Sep 2016 12:02:49 +0000
(12:02 +0000)
committer
Stephen Boyd
<sboyd@codeaurora.org>
Wed, 14 Sep 2016 18:14:20 +0000
(11:14 -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/meson/meson8b.c
patch
|
blob
|
history
diff --git
a/drivers/clk/meson/meson8b.c
b/drivers/clk/meson/meson8b.c
index e1d4aa145a037c8145bf6297116932423ee2cafe..aaa3e393d6b6f92f59ee2b4d8a8426d51c12a308 100644
(file)
--- a/
drivers/clk/meson/meson8b.c
+++ b/
drivers/clk/meson/meson8b.c
@@
-673,8
+673,4
@@
static struct platform_driver meson8b_driver = {
},
};
-static int __init meson8b_clkc_init(void)
-{
- return platform_driver_register(&meson8b_driver);
-}
-device_initcall(meson8b_clkc_init);
+builtin_platform_driver(meson8b_driver);