[PATCH v2] gpio: pcf857x: Make teardown callback return void
Bartosz Golaszewski
brgl at bgdev.pl
Mon Apr 25 11:56:17 PDT 2022
On Mon, Apr 25, 2022 at 7:33 PM Uwe Kleine-König
<u.kleine-koenig at pengutronix.de> wrote:
>
> All teardown functions return 0. Also there is little sense in returning
> a negative error code from an i2c remove function as this only results in
> emitting an error message but the device is removed nevertheless.
>
> This patch is a preparation for making i2c remove callbacks return void.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> ---
> Changes since (implicit) v1:
>
> - make it actually compile, thanks to the kernel test robot for
> pointing that out.
>
Thanks, applied.
Bart
More information about the linux-arm-kernel
mailing list