Re: [PATCH] gpio:Fix error handling in the function max732x_probe
From: Linus Walleij
Date: Wed Aug 26 2015 - 07:36:05 EST
On Tue, Aug 18, 2015 at 3:55 PM, Nicholas Krause <xerofoify@xxxxxxxxx> wrote:
> This fixes error handling in the function max732x_probe by checking
> if the calls to the function max732x_readb fail by returning a error
> code. If so we must immediately return to the caller of the function
> max732x_probe with the error code to signal a non recoverable has
> occurred when calling this function and the caller must handle it.
>
> Signed-off-by: Nicholas Krause <xerofoify@xxxxxxxxx>
Stripped and rewrote the commit message a bit and applied.
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/