]> git.baikalelectronics.ru Git - kernel.git/commit
clk: imx93: drop of_match_ptr
authorPeng Fan <peng.fan@nxp.com>
Tue, 30 Aug 2022 03:31:31 +0000 (11:31 +0800)
committerStephen Boyd <sboyd@kernel.org>
Thu, 29 Sep 2022 01:37:36 +0000 (18:37 -0700)
commitb2aee84d8cc4d4d45d598d234636d3a3b3d3967d
tree0eeb6b12cc2e98a204ada2458decca559b770643
parent87f871dd40ed4ec554ea55eda066b8bf715662be
clk: imx93: drop of_match_ptr

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: ba9fcf8ae1ce ("clk: imx: add i.MX93 clk")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20220830033137.4149542-3-peng.fan@oss.nxp.com
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/imx/clk-imx93.c