Skip to content
Commit 01372ae1 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

watchdog: coh901327_wdt: Simplify error handling in probe function



Checking if there is no error followed by a goto if there is one is
confusing. Reverse the logic.

Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 0397c5db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment