Re: [PATCH 1/4] watchdog: coh901327_wdt: Simplify error handling in probe function

From: Linus Walleij
Date: Mon Jan 09 2017 - 14:38:10 EST


On Wed, Jan 4, 2017 at 4:25 AM, Guenter Roeck <linux@xxxxxxxxxxxx> wrote:

> Checking if there is no error followed by a goto if there is one is
> confusing. Reverse the logic.
>
> Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij