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

From: Linus Walleij
Date: Fri Sep 25 2015 - 12:54:27 EST


On Wed, Aug 26, 2015 at 2:52 PM, 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>

Patch applied with Alexandre's review tag.

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/