siox: Make remove callback return void
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 25 Nov 2020 09:31:06 +0000 (10:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Dec 2020 15:17:15 +0000 (16:17 +0100)
commit1c12c27086dcef853832a7cbebcb48bdac8104b6
tree933eaa6521bf08c89ce5717bcb711a24bd51ff11
parent07d9a767ae5c3a9b0cf1adccbf157a6fae780de4
siox: Make remove callback return void

The driver core ignores the return value of the remove callback, so
don't give siox drivers the chance to provide a value.

All siox drivers only allocate devm-managed resources in
.probe, so there is no .remove callback to fix.

Tested-by: Thorsten Scherer <t.scherer@eckelmann.de>
Acked-by: Thorsten Scherer <t.scherer@eckelmann.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20201125093106.240643-3-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/siox/siox-core.c
include/linux/siox.h