summaryrefslogtreecommitdiffstats
path: root/drivers/clk/imx/clk-imx35.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/imx/clk-imx35.c')
-rw-r--r--drivers/clk/imx/clk-imx35.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/clk/imx/clk-imx35.c b/drivers/clk/imx/clk-imx35.c
index 17e2ae5e69..9af149f68e 100644
--- a/drivers/clk/imx/clk-imx35.c
+++ b/drivers/clk/imx/clk-imx35.c
@@ -208,8 +208,4 @@ static struct driver_d imx35_ccm_driver = {
.of_compatible = DRV_OF_COMPAT(imx35_ccm_dt_ids),
};
-static int imx35_ccm_init(void)
-{
- return platform_driver_register(&imx35_ccm_driver);
-}
-core_initcall(imx35_ccm_init);
+core_platform_driver(imx35_ccm_driver);