mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 06:04:23 +08:00
6d247e4d26
The driver core ignores the return value of struct device_driver::remove because there is only little that can be done. For the shutdown callback it's ps3_system_bus_shutdown() which ignores the return value. To simplify the quest to make struct device_driver::remove return void, let struct ps3_system_bus_driver::remove return void, too. All users already unconditionally return 0, this commit makes it obvious that returning an error code is a bad idea and ensures future users behave accordingly. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20201126165950.2554997-2-u.kleine-koenig@pengutronix.de |
||
---|---|---|
.. | ||
device-init.c | ||
exports.c | ||
gelic_udbg.c | ||
htab.c | ||
hvcall.S | ||
interrupt.c | ||
Kconfig | ||
Makefile | ||
mm.c | ||
os-area.c | ||
platform.h | ||
repository.c | ||
setup.c | ||
smp.c | ||
spu.c | ||
system-bus.c | ||
time.c |