linux-stable/drivers
Uwe Kleine-König c12264d3fd atm: fore200e: Convert to platform remove callback returning void
The .remove() callback for a platform driver returns an int which makes
many driver authors wrongly assume it's possible to do error handling by
returning an error code. However the value returned is ignored (apart
from emitting a warning) and this typically results in resource leaks.

To improve here there is a quest to make the remove callback return
void. In the first step of this quest all drivers are converted to
.remove_new(), which already returns void. Eventually after all drivers
are converted, .remove_new() will be renamed to .remove().

Trivially convert this driver from always returning zero in the remove
callback to the void returning variant.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240306212344.97985-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-03-07 20:36:32 -08:00
..
accel accel/ivpu: Don't enable any tiles by default on VPU40xx 2024-02-20 16:56:21 +01:00
accessibility
acpi ACPI fix for 6.8-rc7 2024-02-28 12:20:00 -08:00
amba
android
ata ata: libata-core: Do not call ata_dev_power_set_standby() twice 2024-02-21 19:09:17 +01:00
atm atm: fore200e: Convert to platform remove callback returning void 2024-03-07 20:36:32 -08:00
auxdisplay
base Driver core fixes for 6.8-rc5 2024-02-17 08:56:41 -08:00
bcma
block
bluetooth Bluetooth: qca: Fix triggering coredump implementation 2024-02-28 09:50:51 -05:00
bus
cache cache: ax45mp_cache: Align end size to cache boundary in ax45mp_dma_cache_wback() 2024-02-21 16:24:10 +00:00
cdrom
cdx
char
clk
clocksource
comedi
connector
counter
cpufreq cpufreq: intel_pstate: fix pstate limits enforcement for adjust_perf call back 2024-02-24 15:01:59 +01:00
cpuidle
crypto crypto: rk3288 - Fix use after free in unprepare 2024-03-01 18:33:29 +08:00
cxl cxl/acpi: Fix load failures due to single window creation failure 2024-02-20 22:58:05 -08:00
dax
dca
devfreq
dio
dma dmaengine: ptdma: use consistent DMA masks 2024-02-23 12:22:55 +05:30
dma-buf
dpll Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-03-07 10:29:36 -08:00
edac
eisa
extcon
firewire firewire: core: use long bus reset on gap count error 2024-02-29 22:18:14 +09:00
firmware RISC-V firmware drivers for v6.9 2024-03-06 07:42:08 +01:00
fpga
fsi
gnss
gpio gpio: fix resource unwinding order in error path 2024-03-01 09:33:30 +01:00
gpu drm/nouveau: keep DMA buffers required for suspend/resume 2024-03-01 15:27:04 +10:00
greybus
hid bpf-next-for-netdev 2024-03-02 20:50:59 -08:00
hsi
hte
hv Drivers: hv: vmbus: make hv_bus const 2024-03-03 02:32:35 +00:00
hwmon hwmon: (nct6775) Fix access to temperature configuration registers 2024-02-21 13:56:33 -08:00
hwspinlock
hwtracing
i2c i2c: imx: when being a target, mark the last read as processed 2024-02-23 23:39:35 +01:00
i3c
idle
iio
infiniband rtnetlink: prepare nla_put_iflink() to run under RCU 2024-02-26 11:46:12 +00:00
input
interconnect
iommu iommufd for 6.8 rc 2024-03-01 17:22:46 -08:00
ipack
irqchip irqchip/gic-v3-its: Do not assume vPE tables are preallocated 2024-02-21 21:11:20 +01:00
isdn isdn: capi: make capi_class constant 2024-03-07 20:26:24 -08:00
leds
macintosh
mailbox
mcb
md - Fix DM integrity and verity targets to not use excessive stack when 2024-02-24 09:55:29 -08:00
media Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-02-22 15:29:26 -08:00
memory
memstick
message
mfd
misc
mmc mmc: sdhci-xenon: add timeout for PHY init complete 2024-02-28 13:41:35 +01:00
most
mtd
mux
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-03-07 10:29:36 -08:00
nfc
ntb
nubus
nvdimm
nvme net: introduce page_frag_cache_drain() 2024-03-05 11:38:14 +01:00
nvmem
of Devicetree fix for v6.8, part 2: 2024-03-01 17:18:35 -08:00
opp
parisc
parport
pci PCI/MSI: Prevent MSI hardware interrupt number truncation 2024-02-19 16:11:01 +01:00
pcmcia
peci
perf RISC-V Fixes for 6.8-rc7 2024-03-01 12:44:33 -08:00
phy phy: qcom-qmp-usb: fix v3 offsets data 2024-02-16 17:05:48 +05:30
pinctrl
platform platform/x86/amd/pmf: Fix missing error code in amd_pmf_init_smart_pc() 2024-03-05 10:17:07 +01:00
pmdomain pmdomain: qcom: rpmhpd: Fix enabled_corner aggregation 2024-02-28 16:31:45 +01:00
pnp
power power: supply: bq27xxx-i2c: Do not free non existing IRQ 2024-02-16 23:42:38 +01:00
powercap
pps
ps3
ptp ptp: fc3: Convert to platform remove callback returning void 2024-03-05 11:23:02 -08:00
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390 s390 fixes for 6.8-rc6 2024-02-23 09:54:13 -08:00
sbus
scsi scsi: mpt3sas: Prevent sending diag_reset when the controller is ready 2024-02-26 20:42:50 -05:00
sh
siox
slimbus
soc A reset fix for host1x, a resource leak fix and a probe fix for aux-hpd, 2024-03-01 13:13:06 +10:00
soundwire
spi spi: Drop mismerged fix 2024-02-27 12:52:51 +00:00
spmi
ssb
staging Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-02-22 15:29:26 -08:00
target scsi: target: pscsi: Fix bio_put() for error case 2024-02-15 14:44:07 -05:00
tc
tee tee: optee: Fix kernel panic caused by incorrect error handling 2024-03-04 09:49:03 +01:00
thermal
thunderbolt
tty serial: amba-pl011: Fix DMA transmission in RS485 mode 2024-02-19 09:43:37 +01:00
ufs scsi: ufs: Uninitialized variable in ufshcd_devfreq_target() 2024-02-15 14:46:13 -05:00
uio
usb USB fixes for 6.8-rc6 2024-02-25 10:41:57 -08:00
vdpa
vfio
vhost vhost/net: remove vhost_net_page_frag_refill() 2024-03-05 11:38:14 +01:00
video hyperv-fixes for v6.8 2024-03-05 12:38:50 -08:00
virt
virtio
w1
watchdog
xen
zorro
Kconfig
Makefile