diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-12-25 00:04:10 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2018-01-21 14:56:35 +0300 |
commit | e189410cbef1374ec29d42b72df0d58d5c7e193c (patch) | |
tree | 22b1781ed0a8edc5643ff14ba486b22c5e7b2c11 /drivers/watchdog/bcm_kona_wdt.c | |
parent | 23dfe140057baa165daebadf8f4600e3603e0954 (diff) | |
download | linux-e189410cbef1374ec29d42b72df0d58d5c7e193c.tar.xz |
watchdog: sp5100_tco: Clean up sp5100_tco_setupdevice
There are too many unnecessary goto statements in sp5100_tco_setupdevice().
Rearrange the code and limit goto statements to error handling.
Cc: Zoltán Böszörményi <zboszor@pr.hu>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/bcm_kona_wdt.c')
0 files changed, 0 insertions, 0 deletions