diff options
author | Uwe Kleine-König <[email protected]> | 2022-04-25 21:32:06 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-04-26 15:13:38 +0100 |
commit | 0e631e065bcb92cc97b38a82e41695952145751d (patch) | |
tree | 09982fce39e15ef0d2d63c5745658d31174cead5 /lib/assoc_array.c | |
parent | 83f48ad508b0539f4a1737a1a125d1b66191dbc3 (diff) |
ASoC: tas6424: Return zero in remove callback
The only effect of returning an error code in an i2c remove callback
(compared to returning zero) is that the i2c core emits a generic
warning. The device is still removed.
So even if disabling the regulators fails it's sensible to return zero
to suppress the additional generic and little helpful error message.
This patch is a preparation for making i2c remove callbacks return void.
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 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions