On 2026-05-21T17:50:48, Francois Berder <[email protected]> wrote:
> drivers: gpio: Fix dev_read_addr error check
>
> dev_read_addr returns FDT_ADDR_T_NONE (-1) in case of error
> and not 0.
>
> Signed-off-by: Francois Berder <[email protected]>
>
> drivers/gpio/gpio-fxl6408.c | 2 +-
>  drivers/gpio/pca953x_gpio.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to