diff options
author | Uwe Kleine-König <[email protected]> | 2020-11-26 11:41:42 +0100 |
---|---|---|
committer | Lee Jones <[email protected]> | 2021-01-15 13:23:36 +0000 |
commit | 3c15e00e7b58bc2b37e53d2612f0a0163281be77 (patch) | |
tree | acbe2551561e25a69bec316e0e2553a51c940818 /scripts/gdb/linux | |
parent | 5c8fe583cce542aa0b84adc939ce85293de36e5e (diff) |
mfd/bus: sunxi-rsb: Make .remove() callback return void
The driver core ignores the return value of struct device_driver::remove
because there is only little that can be done. To simplify the quest to
make this function return void, let struct sunxi_rsb_driver::remove
return void, too. All users already unconditionally return 0, this
commit makes this obvious and ensures future users don't behave
differently. To simplify even further, make axp20x_device_remove()
return void instead of returning 0 unconditionally, too.
Signed-off-by: Uwe Kleine-König <[email protected]>
Reviewed-by: Chen-Yu Tsai <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions