diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-01-03 12:22:09 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2017-02-24 23:00:23 +0100 |
commit | 01372ae13ba6a4792de2f4bd474f1374b5404448 (patch) | |
tree | c3f304133ef07b8bd74e127fb42a08293bd7dcac /kernel | |
parent | watchdog: tangox: Use watchdog core to install restart handler (diff) | |
download | linux-01372ae13ba6a4792de2f4bd474f1374b5404448.tar.xz linux-01372ae13ba6a4792de2f4bd474f1374b5404448.zip |
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions