kernel_optimize_test/drivers/input/serio
Uwe Kleine-König e4c777fd8c amba: Make the remove callback return void
[ Upstream commit 3fd269e74f2feec973f45ee11d822faeda4fe284 ]

All amba drivers return 0 in their remove callback. Together with the
driver core ignoring the return value anyhow, it doesn't make sense to
return a value here.

Change the remove prototype to return void, which makes it explicit that
returning an error value doesn't work as expected. This simplifies changing
the core remove callback to return void, too.

Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org> # for drivers/memory
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Suzuki K Poulose <suzuki.poulose@arm.com> # for hwtracing/coresight
Acked-By: Vinod Koul <vkoul@kernel.org> # for dmaengine
Acked-by: Guenter Roeck <linux@roeck-us.net> # for watchdog
Acked-by: Wolfram Sang <wsa@kernel.org> # for I2C
Acked-by: Takashi Iwai <tiwai@suse.de> # for sound
Acked-by: Vladimir Zapolskiy <vz@mleia.com> # for memory/pl172
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20210126165835.687514-5-u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 14:40:02 +02:00
..
altera_ps2.c
ambakmi.c amba: Make the remove callback return void 2022-04-08 14:40:02 +02:00
ams_delta_serio.c
apbps2.c
arc_ps2.c
ct82c710.c
gscps2.c
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
hyperv-keyboard.c
i8042-io.h
i8042-ip22io.h
i8042-jazzio.h
i8042-snirm.h
i8042-sparcio.h
i8042-x86ia64io.h Input: i8042 - enable deferred probe quirk for ASUS UM325UA 2022-01-05 12:40:29 +01:00
i8042.c Input: i8042 - add deferred probe support 2022-01-05 12:40:29 +01:00
i8042.h
ioc3kbd.c
Kconfig
libps2.c
maceps2.c
Makefile
olpc_apsp.c
parkbd.c
pcips2.c
ps2-gpio.c
ps2mult.c
q40kbd.c
rpckbd.c
sa1111ps2.c
serio_raw.c
serio.c
serport.c tty: convert tty_ldisc_ops 'read()' function to take a kernel pointer 2021-03-04 11:37:36 +01:00
sun4i-ps2.c
userio.c
xilinx_ps2.c