twx-linux/drivers/staging
Uwe Kleine-König 46ea323026 staging: nvec: nvec_kbd: 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 (mostly) ignored
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.

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/20230403154014.2564054-20-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-04-03 21:49:54 +02:00
..
axis-fifo staging: axis-fifo: Convert to platform remove callback returning void 2023-04-03 21:49:54 +02:00
board
emxx_udc staging: emxx_udc: Convert to platform remove callback returning void 2023-04-03 21:49:54 +02:00
fbtft
fieldbus staging: fieldbus: arcx-anybus: Convert to platform remove callback returning void 2023-04-03 21:49:54 +02:00
gdm724x
greybus staging: greybus: arche: Convert to platform remove callback returning void 2023-04-03 21:49:54 +02:00
iio staging: iio: resolver: ads1210: fix config mode 2023-03-28 13:33:14 +02:00
ks7010 staging: ks7010: fix line ending with '(' 2023-03-25 09:47:56 +01:00
media media updates for v6.3-rc1 2023-02-26 11:47:26 -08:00
most staging: most: dim2: Convert to platform remove callback returning void 2023-04-03 21:49:54 +02:00
nvec staging: nvec: nvec_kbd: Convert to platform remove callback returning void 2023-04-03 21:49:54 +02:00
octeon Staging: octeon: Fix line ending with '(' 2023-03-17 08:14:46 +01:00
olpc_dcon
pi433 staging: pi433: fix memory leak with using debugfs_lookup() 2023-02-06 10:45:34 +01:00
qlge Staging: qlge: Fix indentation in conditional statement 2023-03-16 09:44:31 +01:00
rtl8192e staging: rtl8192e: fix unbalanced braces around else 2023-03-28 13:35:03 +02:00
rtl8192u staging: rtl8192u: add '*/' on separate line in block comments 2023-03-28 13:34:49 +02:00
rtl8712 staging: rtl8712: Fix multiple line dereference 2023-03-08 17:00:53 +01:00
rtl8723bs staging: rtl8723bs: conform if's braces to kernel style 2023-03-29 11:22:51 +02:00
rts5208 staging: rts5208: remove unused xd_check_err_code function 2023-03-22 10:18:27 +01:00
sm750fb Staging driver changes for 6.2-rc1 2022-12-16 03:27:03 -08:00
vc04_services staging: vc04_services: mmal-vchiq: fix typo in comment 2023-01-31 11:17:21 +01:00
vme_user staging: vme_user: Replace "<<" with BIT macro 2023-03-25 09:56:01 +01:00
vt6655 staging: vt6655: remove unused bb_power_save_mode_off() function 2023-03-17 08:07:25 +01:00
vt6656 staging: vt6656: remove unused vnt_get_current_tsf() function 2023-03-17 08:07:23 +01:00
wlan-ng staging: wlan-ng: small cleanup in plugimage() 2023-03-16 09:43:51 +01:00
Kconfig staging: r8188eu: delete driver 2023-03-09 10:06:28 +01:00
Makefile staging: r8188eu: delete driver 2023-03-09 10:06:28 +01:00