Re: [PATCH RESEND] gpio: Fix error checking in the function device_pca957x_init

From: Linus Walleij
Date: Fri Oct 02 2015 - 07:04:39 EST


On Thu, Sep 24, 2015 at 2:09 AM, Nicholas Krause <xerofoify@xxxxxxxxx> wrote:

> This fixes error checking in the function device_pca957x_init
> to properly check and return error code values from the calls
> to the function pca953x_write_regs if they fail as to properly
> signal callers when a error occurs due a failure when writing
> registers for this gpio based device.
>
> Signed-off-by: Nicholas Krause <xerofoify@xxxxxxxxx>
> Reviewed-by: Alexandre Courbot <acourbot@xxxxxxxxxx>

Already merged.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/