Commit 00746f10 authored by Wei Yongjun's avatar Wei Yongjun Committed by Stephen Boyd

clk: gxbb: 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 <weiyj.lk@gmail.com>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 8ca4746a
......@@ -937,8 +937,4 @@ static struct platform_driver gxbb_driver = {
},
};
static int __init gxbb_clkc_init(void)
{
return platform_driver_register(&gxbb_driver);
}
device_initcall(gxbb_clkc_init);
builtin_platform_driver(gxbb_driver);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment