linux-stable/drivers/input
Uwe Kleine-König 02bb3ecaf9 Input: mainstone-wm97xx - 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-46-u.kleine-koenig@pengutronix.de
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2023-09-23 19:28:15 -07:00
..
gameport
joystick
keyboard Input: stmpe-keypad - convert to platform remove callback returning void 2023-09-23 19:16:42 -07:00
misc Input: wm831x-on - convert to platform remove callback returning void 2023-09-23 19:16:44 -07:00
mouse Input: navpoint - convert to platform remove callback returning void 2023-09-23 19:16:45 -07:00
rmi4
serio Input: xilinx_ps2 - convert to platform remove callback returning void 2023-09-23 19:28:15 -07:00
tablet
tests
touchscreen Input: mainstone-wm97xx - convert to platform remove callback returning void 2023-09-23 19:28:15 -07:00
apm-power.c
evbug.c
evdev.c
ff-core.c
ff-memless.c
input-compat.c
input-compat.h
input-core-private.h
input-leds.c
input-mt.c
input-poller.c
input-poller.h
input.c
joydev.c
Kconfig
Makefile
matrix-keymap.c
mousedev.c
sparse-keymap.c
touchscreen.c
vivaldi-fmap.c