Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit faabbe50 authored by Wei Yongjun's avatar Wei Yongjun Committed by Stephen Boyd
Browse files

clk: zx296718: 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 <weiyongjun1@huawei.com>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 5254223a
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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);