Re: [PATCH] gpiolib: remove redundant callback check
From: Bartosz Golaszewski
Date: Mon Jan 12 2026 - 03:41:15 EST
On Fri, 09 Jan 2026 11:55:56 +0100, Bartosz Golaszewski wrote:
> The presence of the .get_direction() callback is already checked in
> gpiochip_get_direction(). Remove the duplicated check which also returns
> the wrong error code to user-space.
>
>
Applied, thanks!
[1/1] gpiolib: remove redundant callback check
commit: 471e998c0e31206ff0eac7202b2659698cf9b46e
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>