clk: imx8mm: Switch to platform driver
authorAbel Vesa <abel.vesa@nxp.com>
Tue, 9 Jul 2019 14:20:03 +0000 (17:20 +0300)
committerShawn Guo <shawnguo@kernel.org>
Sat, 3 Aug 2019 08:13:27 +0000 (10:13 +0200)
commitaf7e7ee0e4280c29c41b6ec64b892bb53987a997
tree59444e352429bf34da9cee4858aaa6e3513f325f
parent053a4ffe298836bb973d2cba59f82fff60c7db5b
clk: imx8mm: Switch to platform driver

There is no strong reason for this to use CLK_OF_DECLARE instead
of being a platform driver. Plus, this will now be aligned with the
other i.MX8M clock drivers which are platform drivers.

In order to make the clock provider a platform driver
all the data and code needs to be outside of .init section.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-imx8mm.c