diff options
author | Uwe Kleine-König <[email protected]> | 2021-07-27 10:08:37 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-07-28 15:33:59 +0200 |
commit | b2c943e52705b211d1aa0633c9196150cf30be47 (patch) | |
tree | 8c2dc37bab78ee1d575b7b16a3c71ee90ed87755 /drivers/fpga/zynqmp-fpga.c | |
parent | df6192f47d2311cf40cd4321cc59863a5853b665 (diff) |
nubus: Make struct nubus_driver::remove return void
The nubus core ignores the return value of the remove callback (in
nubus_device_remove()) and all implementers return 0 anyway.
So make it impossible for future drivers to return an unused error code
by changing the remove prototype to return void.
Signed-off-by: Uwe Kleine-König <[email protected]>
Acked-by: Finn Thain <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/zynqmp-fpga.c')
0 files changed, 0 insertions, 0 deletions