kernel_optimize_test/drivers/soc
Linus Walleij 227ee155ea soc: ixp4xx/npe: Fix unused match warning
[ Upstream commit 620f83b8326ce9706b1118334f0257ae028ce045 ]

The kernel test robot found this inconsistency:

  drivers/soc/ixp4xx/ixp4xx-npe.c:737:34: warning:
  'ixp4xx_npe_of_match' defined but not used [-Wunused-const-variable=]
     737 | static const struct of_device_id ixp4xx_npe_of_match[] = {

This is because the match is enclosed in the of_match_ptr()
which compiles into NULL when OF is disabled and this
is unnecessary.

Fix it by dropping of_match_ptr() around the match.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20220626074315.61209-1-linus.walleij@linaro.org'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-07-21 21:20:17 +02:00
..
actions
amlogic
aspeed soc: aspeed: lpc-ctrl: Block error printing on probe defer cases 2022-02-23 12:01:06 +01:00
atmel
bcm soc: bcm: brcmstb: pm: pm-arm: Fix refcount leak in brcmstb_pm_probe 2022-06-29 08:59:54 +02:00
dove
fsl soc: fsl: qe: Check of ioremap return value 2022-03-08 19:09:37 +01:00
gemini
imx
ixp4xx soc: ixp4xx/npe: Fix unused match warning 2022-07-21 21:20:17 +02:00
kendryte
lantiq
mediatek Revert "ASoC: mediatek: Check for error clk pointer" 2022-02-08 18:30:36 +01:00
qcom soc: qcom: llcc: Add MODULE_DEVICE_TABLE() 2022-06-09 10:21:13 +02:00
renesas
rockchip soc: rockchip: Fix refcount leak in rockchip_grf_init 2022-06-14 18:32:33 +02:00
samsung
sifive
sunxi
tegra
ti soc: ti: ti_sci_pm_domains: Check for null return of devm_kcalloc 2022-06-09 10:20:57 +02:00
ux500
versatile
xilinx
zte
Kconfig
Makefile