linux-stable/drivers
Linus Walleij c7d4b3ec63 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 20:59:27 +02:00
..
accessibility
acpi
amba
android
ata ata: libata-core: fix NULL pointer deref in ata_host_alloc_pinfo() 2022-06-22 14:11:20 +02:00
atm
auxdisplay
base regmap-irq: Fix a bug in regmap_irq_enable() for type_in_mask chips 2022-06-29 08:58:47 +02:00
bcma
block xen/blkfront: force data bouncing when backend is untrusted 2022-07-07 17:36:53 +02:00
bluetooth
bus
cdrom
char random: update comment from copy_to_user() -> copy_to_iter() 2022-06-29 08:58:49 +02:00
clk
clocksource clocksource/drivers/ixp4xx: remove EXPORT_SYMBOL_GPL from ixp4xx_timer_setup() 2022-07-07 17:36:53 +02:00
connector
counter
cpufreq cpufreq: pmac32-cpufreq: Fix refcount leak bug 2022-07-21 20:59:24 +02:00
cpuidle
crypto
dax
dca
devfreq PM / devfreq: exynos-ppmu: Fix refcount leak in of_get_devfreq_events 2022-07-07 17:36:49 +02:00
dio
dma dmaengine: ti: Add missing put_device in ti_dra7_xbar_route_allocate 2022-07-12 16:30:50 +02:00
dma-buf udmabuf: add back sanity check 2022-06-29 08:58:46 +02:00
edac
eisa
extcon
firewire
firmware
fpga
fsi
gnss
gpio gpio: winbond: Fix error code in winbond_gpio_get() 2022-06-29 08:58:47 +02:00
gpu drm/i915/gt: Serialize TLB invalidates with GT resets 2022-07-21 20:59:22 +02:00
greybus
hid
hsi
hv random: remove unused irq_flags argument from add_interrupt_randomness() 2022-06-22 14:11:06 +02:00
hwmon hwmon: (ibmaem) don't call platform_device_del() if platform_device_add() fails 2022-07-07 17:36:50 +02:00
hwspinlock
hwtracing
i2c i2c: cadence: Unregister the clk notifier in error path 2022-07-12 16:30:49 +02:00
i3c
ide
idle
iio iio: adc: axp288: Override TS pin bias current for some models 2022-06-29 08:58:48 +02:00
infiniband RDMA/qedr: Fix reporting QP timeout attribute 2022-07-07 17:36:49 +02:00
input Input: bcm5974 - set missing URB_NO_TRANSFER_DMA_MAP urb flag 2022-06-14 18:12:03 +02:00
interconnect
iommu iommu/vt-d: Fix PCI bus rescan device hot add 2022-07-12 16:30:46 +02:00
ipack
irqchip irqchip: or1k-pic: Undefine mask_ack for level triggered hardware 2022-07-21 20:59:26 +02:00
isdn
leds
lightnvm
macintosh
mailbox
mcb
md dm raid: fix KASAN warning in raid5_add_disks 2022-07-07 17:36:48 +02:00
media
memory
memstick
message
mfd
misc misc: rtsx_usb: set return value in rsp_buf alloc err path 2022-07-12 16:30:49 +02:00
mmc mmc: sdhci-pci-o2micro: Fix card detect by dealing with debouncing 2022-06-29 08:58:44 +02:00
mtd Revert "mtd: rawnand: gpmi: Fix setting busy timeout setting" 2022-07-15 10:14:53 +02:00
mux
net net: sfp: fix memory leak in sfp_probe() 2022-07-21 20:59:25 +02:00
nfc NFC: nxp-nci: don't print header length mismatch on i2c error 2022-07-21 20:59:25 +02:00
ntb
nubus
nvdimm nvdimm: Fix badblocks clear off-by-one error 2022-07-07 17:36:48 +02:00
nvme nvme: fix regression when disconnect a recovering ctrl 2022-07-21 20:59:25 +02:00
nvmem
of
opp
oprofile
parisc
parport
pci
pcmcia
perf
phy
pinctrl pinctrl: sunxi: sunxi_pconf_set: use correct offset 2022-07-12 16:30:48 +02:00
platform platform/x86: hp-wmi: Ignore Sanitization Mode event 2022-07-21 20:59:25 +02:00
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390
sbus
scsi scsi: pmcraid: Fix missing resource cleanup in error case 2022-06-22 14:11:20 +02:00
sfi
sh
siox
slimbus
soc soc: ixp4xx/npe: Fix unused match warning 2022-07-21 20:59:27 +02:00
soundwire
spi
spmi
ssb
staging comedi: vmk80xx: fix expression for tx buffer size 2022-06-22 14:11:23 +02:00
target
tc
tee
thermal
thunderbolt
tty vt: drop old FONT ioctls 2022-06-29 08:58:44 +02:00
uio
usb usb: chipidea: udc: check request status before setting device address 2022-06-29 08:58:47 +02:00
vfio
vhost vringh: Fix loop descriptors check in the indirect cases 2022-06-14 18:12:02 +02:00
video fbcon: Prevent that screen size is smaller than font size 2022-07-12 16:30:47 +02:00
virt
virtio virtio_mmio: Restore guest page size on resume 2022-07-21 20:59:24 +02:00
visorbus
vlynq
vme
w1
watchdog
xen xen/gntdev: Avoid blocking in unmap_grant_pages() 2022-07-07 17:36:50 +02:00
zorro
Kconfig
Makefile