Refer to 82ed3829c937("clk: imx: use module_platform_driver"),
delete the redundant initcall functionSigned-off-by: Xiaolei Wang <[email protected]> --- drivers/clk/imx/clk-imx8qxp.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/clk/imx/clk-imx8qxp.c b/drivers/clk/imx/clk-imx8qxp.c index 761546bc9e0d..6f97da0c828f 100644 --- a/drivers/clk/imx/clk-imx8qxp.c +++ b/drivers/clk/imx/clk-imx8qxp.c @@ -307,12 +307,6 @@ static struct platform_driver imx8qxp_clk_driver = { }, .probe = imx8qxp_clk_probe, }; - -static int __init imx8qxp_clk_driver_init(void) -{ - return platform_driver_register(&imx8qxp_clk_driver); -} -subsys_initcall_sync(imx8qxp_clk_driver_init); module_platform_driver(imx8qxp_clk_driver); MODULE_AUTHOR("Aisheng Dong <[email protected]>"); -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10743): https://lists.yoctoproject.org/g/linux-yocto/message/10743 Mute This Topic: https://lists.yoctoproject.org/mt/87739521/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
