[PATCH *-next 13/18] gpiolib: Remove needless return in two void APIs

Bartosz Golaszewski brgl at bgdev.pl
Fri Feb 21 05:06:23 PST 2025


On Fri, Feb 21, 2025 at 2:02 PM Zijun Hu <quic_zijuhu at quicinc.com> wrote:
>
> Remove needless 'return' in the following void APIs:
>
> gpio_set_value_cansleep()
> gpio_set_value()
>
> Since both the API and callee involved are void functions.
>
> Signed-off-by: Zijun Hu <quic_zijuhu at quicinc.com>
> ---

That would normally make sense but we're getting that reworked[1] in
this very cycle so please drop this patch from your series.

Bart

[1] https://lore.kernel.org/linux-gpio/20250220-gpio-set-retval-v2-0-bc4cfd38dae3@linaro.org/



More information about the linux-mtd mailing list