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

clk: tegra: dfll: 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
6f877e79 cbf2e548

+1 -6
+1 -6
drivers/clk/tegra/clk-tegra124-dfll-fcpu.c
··· 163 163 .pm = &tegra124_dfll_pm_ops, 164 164 }, 165 165 }; 166 - 167 - static int __init tegra124_dfll_fcpu_init(void) 168 - { 169 - return platform_driver_register(&tegra124_dfll_fcpu_driver); 170 - } 171 - device_initcall(tegra124_dfll_fcpu_init); 166 + builtin_platform_driver(tegra124_dfll_fcpu_driver);