WSL2-Linux-Kernel/drivers/soc
Linus Walleij c0cba036bf soc: ixp4xx/npe: Fix unused match warning
[ Upstream commit 620f83b832 ]

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:24:40 +02:00
..
actions
amlogic
aspeed soc: aspeed: lpc-ctrl: Block error printing on probe defer cases 2022-02-23 12:03:19 +01:00
atmel ARM: at91: fix soc detection for SAM9X60 SiPs 2022-07-12 16:35:15 +02:00
bcm soc: bcm: brcmstb: pm: pm-arm: Fix refcount leak in brcmstb_pm_probe 2022-06-29 09:03:31 +02:00
canaan
dove
fsl soc: fsl: qe: Check of ioremap return value 2022-03-08 19:12:49 +01:00
gemini
imx soc: imx: gpcv2: Synchronously suspend MIX domains 2022-01-27 11:04:28 +01:00
ixp4xx soc: ixp4xx/npe: Fix unused match warning 2022-07-21 21:24:40 +02:00
lantiq
litex
mediatek soc: mediatek: pm-domains: Add wakeup capacity support in power domain 2022-04-08 14:23:18 +02:00
qcom soc: qcom: llcc: Add MODULE_DEVICE_TABLE() 2022-06-09 10:23:05 +02:00
renesas
rockchip soc: rockchip: Fix refcount leak in rockchip_grf_init 2022-06-14 18:36:07 +02:00
samsung soc: samsung: exynos-pmu: Fix compilation when nothing selects CONFIG_MFD_CORE 2021-11-18 19:16:01 +01:00
sifive
sunxi
tegra soc/tegra: fuse: Fix bitwise vs. logical OR warning 2021-12-22 09:32:43 +01:00
ti soc: ti: ti_sci_pm_domains: Check for null return of devm_kcalloc 2022-06-09 10:22:41 +02:00
ux500
versatile
xilinx
Kconfig
Makefile