diff options
| author | 2022-03-31 14:31:32 +0100 | |
|---|---|---|
| committer | 2022-04-24 08:26:45 +0100 | |
| commit | b4657e00115d0c87970a2386338b70fa95ef4ac6 (patch) | |
| tree | fd4f064e8d8bc8a4f1a075a1d9fcd33115958555 /include/uapi/linux | |
| parent | media: i2c: dw9714: Disable the regulator when the driver fails to probe (diff) | |
| download | linux-dev-b4657e00115d0c87970a2386338b70fa95ef4ac6.tar.xz linux-dev-b4657e00115d0c87970a2386338b70fa95ef4ac6.zip | |
media: i2c: dw9714: Return zero in remove callback
The only effect of returning an error code in an i2c remove callback is
that the i2c core emits a generic warning and still removes the device.
So even if disabling the regulator fails it's sensible to further cleanup
and then return zero to only emit a single error message.
This patch is a preparation for making i2c remove callbacks return void.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
