linux-stable/drivers/pcmcia
Uwe Kleine-König 1b775e616e pcmcia: xxs1500_ss: 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>
Link: https://lore.kernel.org/r/09a89926787cb9f64caa73c510f04d9f04a5136f.1702051073.git.u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-12-15 17:07:28 +01:00
..
Kconfig pcmcia : make PCMCIA depend on HAS_IOMEM 2023-08-04 15:39:44 +02:00
Makefile pcmcia: remove unused pxa/sa1100 drivers 2023-02-01 17:23:38 +01:00
bcm63xx_pcmcia.c pcmcia: bcm63xx: Convert to platform remove callback returning void 2023-12-15 17:07:28 +01:00
bcm63xx_pcmcia.h
cardbus.c
cirrus.h
cistpl.c pcmcia: cistpl: Demote non-conformant kernel-doc headers to standard comments 2021-03-15 08:22:22 +01:00
cs.c pcmcia: cs: fix possible hung task and memory leak pccardd() 2023-09-03 09:46:00 +02:00
cs_internal.h
db1xxx_ss.c pcmcia: db1xxx_ss: Convert to platform remove callback returning void 2023-12-15 17:07:28 +01:00
ds.c pcmcia: ds: fix possible name leak in error path in pcmcia_device_add() 2023-09-03 10:27:19 +02:00
electra_cf.c pcmcia: electra_cf: Convert to platform remove callback returning void 2023-12-15 17:07:28 +01:00
i82092.c pcmcia: Add __init/__exit annotations to module init/exit funcs 2022-09-22 16:45:25 +02:00
i82092aa.h
i82365.c
i82365.h
max1600.c
max1600.h
o2micro.h
omap_cf.c pcmcia: omap_cf: Convert to platform remove callback returning void 2023-12-15 17:07:28 +01:00
pcmcia_cis.c pcmcia: hide the MAC address helpers if !NET 2021-11-22 14:02:52 +00:00
pcmcia_resource.c pcmcia: typo fix 2023-09-03 10:45:47 +02:00
pd6729.c treewide: Convert del_timer*() to timer_shutdown*() 2022-12-25 13:38:09 -08:00
pd6729.h
pxa2xx_base.c pcmcia: pxa2xx: Convert to platform remove callback returning void 2023-12-15 17:07:28 +01:00
pxa2xx_base.h
pxa2xx_sharpsl.c ARM: pxa: move pcmcia board data into mach-pxa 2022-04-19 21:34:05 +02:00
ricoh.h
rsrc_iodyn.c
rsrc_mgr.c
rsrc_nonstatic.c pcmcia: rsrc_nonstatic: Fix memory leak in nonstatic_release_resource_db() 2023-06-15 13:42:18 +02:00
sa11xx_base.c
sa11xx_base.h
sa1100_generic.c pcmcia: sa1100: Convert to platform remove callback returning void 2023-12-15 17:07:28 +01:00
sa1100_generic.h
sa1100_h3600.c ARM: sa1100: remove unused board files 2023-01-12 10:53:12 +01:00
sa1111_generic.c ARM: pxa: remove unused board files 2023-01-20 11:23:44 +01:00
sa1111_generic.h
sa1111_jornada720.c
sa1111_neponset.c
soc_common.c ARM: pxa/sa1100: move I/O space to PCI_IOBASE 2022-05-07 22:56:17 +02:00
soc_common.h ARM: pxa: move pcmcia board data into mach-pxa 2022-04-19 21:34:05 +02:00
socket_sysfs.c pcmcia: use sysfs_emit{,_at} for sysfs output 2022-01-06 09:15:52 +01:00
tcic.c pcmcia: tcic: remove unneeded "&" in call to setup_timer() 2023-09-03 10:45:53 +02:00
tcic.h
ti113x.h
topic.h
vg468.h
xxs1500_ss.c pcmcia: xxs1500_ss: Convert to platform remove callback returning void 2023-12-15 17:07:28 +01:00
yenta_socket.c treewide: Convert del_timer*() to timer_shutdown*() 2022-12-25 13:38:09 -08:00
yenta_socket.h