[PATCH V3 2/8] clk: imx93: drop of_match_ptr

Stephen Boyd sboyd at kernel.org
Wed Sep 28 18:37:56 PDT 2022


Quoting Abel Vesa (2022-09-02 11:31:06)
> On 22-08-30 11:31:31, Peng Fan (OSS) wrote:
> > From: Peng Fan <peng.fan at nxp.com>
> > 
> > There is build warning when CONFIG_OF is not selected.
> > >> drivers/clk/imx/clk-imx93.c:324:34: warning: 'imx93_clk_of_match'
> > >> defined but not used [-Wunused-const-variable=]
> >      324 | static const struct of_device_id imx93_clk_of_match[] = {
> >          |                                  ^~~~~~~~~~~~~~~~~~
> > 
> > The driver only support DT table, no sense to use of_match_ptr.
> > 
> > Fixes: 24defbe194b6 ("clk: imx: add i.MX93 clk")
> > Reported-by: kernel test robot <lkp at intel.com>
> > Signed-off-by: Peng Fan <peng.fan at nxp.com>
> 
> Reviewed-by: Abel Vesa <abel.vesa at linaro.org>
> 
> Stephen will you pick this patch?

Ok. Got it for fixes.



More information about the linux-arm-kernel mailing list