linux-stable/drivers/input
Uwe Kleine-König b72729b7e6 Input: maceps2 - 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-38-u.kleine-koenig@pengutronix.de
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2023-09-23 19:28:13 -07:00
..
gameport Input: gameport - add ISA and HAS_IOPORT dependencies 2023-07-05 17:32:34 -07:00
joystick Linux 6.4 2023-07-17 09:20:46 -07:00
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 Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
serio Input: maceps2 - convert to platform remove callback returning void 2023-09-23 19:28:13 -07:00
tablet Input: pegasus-notetaker - check pipe type when probing 2023-04-09 19:19:14 -07:00
tests Input: tests - add test to cover all input_grab_device() function 2023-05-23 14:50:28 -07:00
touchscreen Input: wdt87xx_i2c - use device core to create driver-specific device attributes 2023-09-06 14:29:04 -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 Linux 6.4 2023-07-17 09:20:46 -07:00
joydev.c
Kconfig Input: tests - modular KUnit tests should not depend on KUNIT=y 2023-05-02 10:39:00 -07:00
Makefile Input: Add KUnit tests for some of the input core helper functions 2023-04-01 22:47:04 -07:00
matrix-keymap.c
mousedev.c
sparse-keymap.c
touchscreen.c
vivaldi-fmap.c