diff options
| author | Uwe Kleine-König <[email protected]> | 2020-11-26 07:23:30 +0000 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2020-12-11 14:42:19 +0000 |
| commit | 71637c620a826434ca6f888b0364a036faa27ffa (patch) | |
| tree | 530569854bc82a20f1161198d9c714fb5299ce01 /drivers/gpu/drm/lima/lima_devfreq.c | |
| parent | dt-bindings: i2c: Update DT binding docs to support SiFive FU740 SoC (diff) | |
| download | kernel-71637c620a826434ca6f888b0364a036faa27ffa.tar.gz kernel-71637c620a826434ca6f888b0364a036faa27ffa.zip | |
i2c: Warn when device removing fails
The driver core ignores the return value of struct bus_type::remove. So
warn if there is an error that went unnoticed before and return 0
unconditionally in i2c_device_remove().
This prepares changing struct bus_type::remove to return void.
Signed-off-by: Uwe Kleine-König <[email protected]>
[wsa: added a comment and removed unneeded initializtion]
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_devfreq.c')
0 files changed, 0 insertions, 0 deletions
