linux/drivers/input/serio
Uwe Kleine-König 8df828424d Input: xilinx_ps2 - 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/20230920125829.1478827-44-u.kleine-koenig@pengutronix.de
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2023-09-23 19:28:15 -07:00
..
altera_ps2.c Input: altera_ps2 - convert to platform remove callback returning void 2023-09-23 19:16:45 -07:00
ambakmi.c Input: ambakmi - switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2023-01-09 20:25:23 -08:00
ams_delta_serio.c Input: ams_delta_serio - convert to platform remove callback returning void 2023-09-23 19:16:45 -07:00
apbps2.c Input: apbps2 - convert to platform remove callback returning void 2023-09-23 19:16:45 -07:00
arc_ps2.c Input: arc_ps2 - convert to platform remove callback returning void 2023-09-23 19:16:45 -07:00
ct82c710.c Input: ct82c710 - convert to platform remove callback returning void 2023-09-23 19:16:45 -07:00
gscps2.c Input: move from strlcpy with unused retval to strscpy 2022-08-18 15:44:08 -07:00
hil_mlc.c hil/parisc: Disable HIL driver when it gets stuck 2020-10-22 22:44:35 +02:00
hp_sdc_mlc.c hil/parisc: Disable HIL driver when it gets stuck 2020-10-22 22:44:35 +02:00
hp_sdc.c maccess: rename probe_kernel_{read,write} to copy_{from,to}_kernel_nofault 2020-06-17 10:57:41 -07:00
hyperv-keyboard.c Drivers: hv: Make remove callback of hyperv driver void returned 2023-01-17 13:41:27 +00:00
i8042-acpipnpio.h Input: i8042 - add TUXEDO devices to i8042 quirk tables for partial fix 2023-03-23 18:47:02 -07:00
i8042-io.h input: i8042 - Remove special Cayman handling 2020-08-14 22:05:06 -04:00
i8042-ip22io.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
i8042-jazzio.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
i8042-snirm.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
i8042-sparcio.h Input: i8042-sparcio - convert to platform remove callback returning void 2023-09-23 19:24:20 -07:00
i8042.c Input: i8042 - convert to platform remove callback returning void 2023-09-23 19:28:13 -07:00
i8042.h Input: i8042 - add LoongArch support in i8042-acpipnpio.h 2022-10-09 22:26:52 -07:00
ioc3kbd.c Input: ioc3kbd - convert to platform remove callback returning void 2023-09-23 19:28:13 -07:00
Kconfig Input: add HAS_IOPORT dependencies 2023-05-22 15:17:09 -07:00
libps2.c Input: libps2 - do not discard non-ack bytes when controlling LEDs 2023-05-18 11:40:32 -07:00
maceps2.c Input: maceps2 - convert to platform remove callback returning void 2023-09-23 19:28:13 -07:00
Makefile Input: add IOC3 serio driver 2020-01-22 10:05:53 -08:00
olpc_apsp.c Input: olpc_apsp - convert to platform remove callback returning void 2023-09-23 19:28:14 -07:00
parkbd.c Input: move from strlcpy with unused retval to strscpy 2022-08-18 15:44:08 -07:00
pcips2.c Input: move from strlcpy with unused retval to strscpy 2022-08-18 15:44:08 -07:00
ps2-gpio.c Input: ps2-gpio - convert to platform remove callback returning void 2023-09-23 19:28:14 -07:00
ps2mult.c Input: move from strlcpy with unused retval to strscpy 2022-08-18 15:44:08 -07:00
q40kbd.c Input: q40kbd - convert to platform remove callback returning void 2023-09-23 19:28:14 -07:00
rpckbd.c Input: rpckbd - convert to platform remove callback returning void 2023-09-23 19:28:14 -07:00
sa1111ps2.c Input: move from strlcpy with unused retval to strscpy 2022-08-18 15:44:08 -07:00
serio_raw.c treewide: Remove uninitialized_var() usage 2020-07-16 12:35:15 -07:00
serio.c driver core: make struct bus_type.uevent() take a const * 2023-01-27 13:45:52 +01:00
serport.c Input: move from strlcpy with unused retval to strscpy 2022-08-18 15:44:08 -07:00
sun4i-ps2.c Input: sun4i-ps2 - convert to platform remove callback returning void 2023-09-23 19:28:15 -07:00
userio.c
xilinx_ps2.c Input: xilinx_ps2 - convert to platform remove callback returning void 2023-09-23 19:28:15 -07:00