clk: zx296718: 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-16 13:03:31 +00:00 committed by Stephen Boyd
parent 5254223a12
commit faabbe50ad
1 changed files with 1 additions and 5 deletions

View File

@ -917,8 +917,4 @@ static struct platform_driver zx_clk_driver = {
}, },
}; };
static int __init zx_clkc_init(void) builtin_platform_driver(zx_clk_driver);
{
return platform_driver_register(&zx_clk_driver);
}
device_initcall(zx_clkc_init);