WSL2-Linux-Kernel/drivers/net/ethernet/toshiba
Uwe Kleine-König 6d247e4d26 powerpc/ps3: make system bus's remove and shutdown callbacks return void
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
2020-12-04 01:01:22 +11:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ps3_gelic_net.c powerpc/ps3: make system bus's remove and shutdown callbacks return void 2020-12-04 01:01:22 +11:00
ps3_gelic_net.h toshiba: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
ps3_gelic_wireless.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
ps3_gelic_wireless.h toshiba: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
spider_net.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
spider_net.h toshiba: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
spider_net_ethtool.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 153 2019-05-30 11:26:32 -07:00
tc35815.c net: tc35815: switch from 'pci_' to 'dma_' API 2020-09-08 20:16:19 -07:00