aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2021-07-13 21:35:19 +0200
committerGreg Kroah-Hartman <[email protected]>2021-07-21 11:53:41 +0200
commita7bdb9a9767360c2b4096bbb379e73022b274483 (patch)
tree167d1241fd3eaacb1837bfbd5aef60951a11d809 /drivers/fpga/fpga-bridge.c
parentdde0a31863d6a7b05ca7cb5d138586e71afc5e50 (diff)
s390/cio: Make struct css_driver::remove return void
The driver core ignores the return value of css_remove() (because there is only little it can do when a device disappears) and all callbacks return 0 anyhow. So make it impossible for future drivers to return an unused error code by changing the remove prototype to return void. The real motivation for this change is the quest to make struct bus_type::remove return void, too. Reviewed-by: Cornelia Huck <[email protected]> Acked-by: Vineeth Vijayan <[email protected]> Signed-off-by: Uwe Kleine-König <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions