OpenCloudOS-Kernel/arch/arm/common
Uwe Kleine-König 33d6d2bb7e ARM: 9049/1: locomo: make locomo bus's remove callback return void
The driver core ignores the return value of struct bus_type::remove
because there is only little that can be done. To simplify the quest to
make this function return void, let struct locomo_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.

Link: https://lore.kernel.org/r/20201126110140.2021758-1-u.kleine-koenig@pengutronix.de

Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2021-02-01 19:44:30 +00:00
..
Kconfig ARM: Add Krait L2 register accessor functions 2018-10-17 13:14:33 -07:00
Makefile ARM: 8993/1: remove it8152 PCI controller driver 2020-07-21 16:33:41 +01:00
bL_switcher.c sched,bL_switcher: Convert to sched_set_fifo*() 2020-06-15 14:10:20 +02:00
bL_switcher_dummy_if.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
dmabounce.c dma-mapping: split <linux/dma-mapping.h> 2020-10-06 07:07:03 +02:00
firmware.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
krait-l2-accessors.c ARM: Add Krait L2 register accessor functions 2018-10-17 13:14:33 -07:00
locomo.c ARM: 9049/1: locomo: make locomo bus's remove callback return void 2021-02-01 19:44:30 +00:00
mcpm_entry.c docs: arm: convert docs to ReST and rename to *.rst 2019-07-15 09:20:24 -03:00
mcpm_head.S docs: arm: convert docs to ReST and rename to *.rst 2019-07-15 09:20:24 -03:00
mcpm_platsmp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
sa1111.c ARM: 9048/1: sa1111: make sa1111 bus's remove callback return void 2021-02-01 19:42:13 +00:00
scoop.c ARM: scoop: Use the right include 2019-09-03 22:09:46 +02:00
secure_cntvoff.S ARM: smp: Add initialization of CNTVOFF 2018-05-08 14:50:42 +02:00
sharpsl_param.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
vlock.S docs: arm: convert docs to ReST and rename to *.rst 2019-07-15 09:20:24 -03:00
vlock.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00