Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f877e79 authored by Wei Yongjun's avatar Wei Yongjun Committed by Stephen Boyd
Browse files

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: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent cbf2e548
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -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);