summaryrefslogtreecommitdiffstats
path: root/drivers/clk/imx/clk-imx25.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/imx/clk-imx25.c')
-rw-r--r--drivers/clk/imx/clk-imx25.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/clk/imx/clk-imx25.c b/drivers/clk/imx/clk-imx25.c
index 7c2140c215..8aa87a5200 100644
--- a/drivers/clk/imx/clk-imx25.c
+++ b/drivers/clk/imx/clk-imx25.c
@@ -186,8 +186,4 @@ static struct driver_d imx25_ccm_driver = {
.of_compatible = DRV_OF_COMPAT(imx25_ccm_dt_ids),
};
-static int imx25_ccm_init(void)
-{
- return platform_driver_register(&imx25_ccm_driver);
-}
-core_initcall(imx25_ccm_init);
+core_platform_driver(imx25_ccm_driver);