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

Linus Walleij linus.walleij at linaro.org
Mon Jan 9 11:38:03 PST 2017


On Wed, Jan 4, 2017 at 4:25 AM, Guenter Roeck <linux at roeck-us.net> 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 at roeck-us.net>

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list