mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-24 05:01:03 +02:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
07d9a767ae
commit
1c12c27086
@@ -36,7 +36,7 @@ bool siox_device_connected(struct siox_device *sdevice);
|
||||
|
||||
struct siox_driver {
|
||||
int (*probe)(struct siox_device *sdevice);
|
||||
int (*remove)(struct siox_device *sdevice);
|
||||
void (*remove)(struct siox_device *sdevice);
|
||||
void (*shutdown)(struct siox_device *sdevice);
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user