2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00

meson: clk: 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>
This commit is contained in:
Wei Yongjun 2016-09-10 12:02:49 +00:00 committed by Stephen Boyd
parent de64f5c87d
commit 8edeae56a1

View File

@ -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);