commit | 01372ae13ba6a4792de2f4bd474f1374b5404448 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Tue Jan 03 03:22:09 2017 -0800 |
committer | Guenter Roeck <linux@roeck-us.net> | Fri Feb 24 14:00:23 2017 -0800 |
tree | c3f304133ef07b8bd74e127fb42a08293bd7dcac | |
parent | 0397c5db1d3174a553da674bb779007cc62cc241 [diff] |
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: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net>