[PATCH 1/4] watchdog: coh901327_wdt: Simplify error handling in probe function
Guenter Roeck
linux at roeck-us.net
Mon Jan 9 12:17:13 PST 2017
On Mon, Jan 09, 2017 at 08:38:03PM +0100, Linus Walleij wrote:
> 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>
>
Thanks!
Guenter
More information about the linux-arm-kernel
mailing list