mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
This commit is contained in:
parent
5254223a12
commit
faabbe50ad
1 changed files with 1 additions and 5 deletions
|
|
@ -917,8 +917,4 @@ static struct platform_driver zx_clk_driver = {
|
|||
},
|
||||
};
|
||||
|
||||
static int __init zx_clkc_init(void)
|
||||
{
|
||||
return platform_driver_register(&zx_clk_driver);
|
||||
}
|
||||
device_initcall(zx_clkc_init);
|
||||
builtin_platform_driver(zx_clk_driver);
|
||||
|
|
|
|||
Loading…
Reference in a new issue