On Wed, Jul 3, 2019 at 12:33 AM Martin Blumenstingl
<[email protected]> wrote:

> Return early if devm_gpiochip_add_data() returns an error instead of
> having two consecutive "if (!ret) ..." statements.
>
> Also make xway_stp_hw_init() return void because it unconditionally
> returns 0. While here also update the kerneldoc comment for
> xway_stp_hw_init().
>
> These changes makes the error handling within the driver consistent.
> No functional changes intended.
>
> Signed-off-by: Martin Blumenstingl <[email protected]>

Patch applied.

Yours,
Linus Walleij

Reply via email to