Re: [PATCH v2] clk: imx8mm: Switch to platform driver

Stephen Boyd
2019-07-26T21:37:08Z

Quoting Shawn Guo (2019-07-22 23:09:06)
> On Tue, Jul 09, 2019 at 05:20:03PM +0300, Abel Vesa wrote:
> > 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>
> > ---
> >
> > Changes since v1:
> > * Switched to platform driver memory mapping API
> > * Removed extra newline
> > * Added an explanation of why this change is done
> > in the commit message
>
> Hi Stephen,
>
> Are you fine with this version?
>

Sure.

Acked-by: Stephen Boyd <sboyd@kernel.org>