提交 8edeae56 编写于 作者: W Wei Yongjun 提交者: Stephen Boyd

meson: clk: Use builtin_platform_driver to simplify the code

Use the builtin_platform_driver() macro to make the code simpler.
Signed-off-by: NWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
上级 de64f5c8
......@@ -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);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册