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:
cbf2e54
)
clk: tegra: dfll: Use builtin_platform_driver to simplify the code
author
Wei Yongjun
<weiyongjun1@huawei.com>
Thu, 10 Nov 2016 15:20:24 +0000
(15:20 +0000)
committer
Stephen Boyd
<sboyd@codeaurora.org>
Thu, 10 Nov 2016 22:08:46 +0000
(14:08 -0800)
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/tegra/clk-tegra124-dfll-fcpu.c
patch
|
blob
|
history
diff --git
a/drivers/clk/tegra/clk-tegra124-dfll-fcpu.c
b/drivers/clk/tegra/clk-tegra124-dfll-fcpu.c
index 4301569d072a8c2230c911c5f35a92e68eaa89af..ad1c1cc829cba46591ba458e3b637441b20f3638 100644
(file)
--- a/
drivers/clk/tegra/clk-tegra124-dfll-fcpu.c
+++ b/
drivers/clk/tegra/clk-tegra124-dfll-fcpu.c
@@
-163,9
+163,4
@@
static struct platform_driver tegra124_dfll_fcpu_driver = {
.pm = &tegra124_dfll_pm_ops,
},
};
-
-static int __init tegra124_dfll_fcpu_init(void)
-{
- return platform_driver_register(&tegra124_dfll_fcpu_driver);
-}
-device_initcall(tegra124_dfll_fcpu_init);
+builtin_platform_driver(tegra124_dfll_fcpu_driver);