linux-stable/drivers/staging/fieldbus
Uwe Kleine-König 32dcd07242 staging: fieldbus: anybus: Make 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
anybuss_client_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.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20210505202923.198607-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-05-10 11:19:41 +02:00
..
anybuss staging: fieldbus: anybus: Make remove callback return void 2021-05-10 11:19:41 +02:00
Documentation dt-bindings: anybus-controller: move to staging/ tree 2019-09-12 10:35:51 +01:00
dev_core.c staging: fieldbus: use kobj_to_dev() to get device 2020-11-23 17:59:51 +01:00
fieldbus_dev.h staging: fieldbus: move "offline mode" definition to fieldbus core 2019-09-30 21:58:03 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile staging: fieldbus: anybus-s: support the Arcx anybus controller 2019-04-17 12:07:31 +02:00
TODO staging: fieldbus: add TODO 2019-04-17 12:07:31 +02:00