diff options
author | Uwe Kleine-König <[email protected]> | 2021-11-16 12:09:51 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-11-16 14:30:01 +0000 |
commit | 4950486cd86f450baa847bfc13557244d834526c (patch) | |
tree | 45415c4a8eaeb09b7ef6470b9c637a707d1459ea /scripts/gdb/linux/tasks.py | |
parent | fa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf (diff) |
regulator: da9121: Emit only one error message in .remove()
When an i2c remove callback fails, the i2c core emits a generic error
message and still removes the device. Apart from the message there the
return value isn't further used.
So don't return an error code after having already emitted a driver
specific warning about the problem to prevent two messages about the
same issue.
Signed-off-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions