diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-06-04 13:35:35 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-13 17:30:54 -0700 |
commit | 9bb8a3d4109f3b267cca9f6f071e2298eed4f593 (patch) | |
tree | 7b607157c5e859024802800c6790d7e0d41fe561 /drivers/watchdog/ib700wdt.c | |
parent | ca4ff100d36b2c1da93a0a121177f73eea154471 (diff) | |
download | blackbird-op-linux-9bb8a3d4109f3b267cca9f6f071e2298eed4f593.tar.gz blackbird-op-linux-9bb8a3d4109f3b267cca9f6f071e2298eed4f593.zip |
TTY: centralize fail paths in tty_register_driver
Currently, some failures are handled in if's false branches, some at
the end of tty_register_driver via goto-labels. Let us handle the
failures at the end of the functions to have the failure handling at
a single place. The only thing needed is to label the lines properly
and jump there.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/watchdog/ib700wdt.c')
0 files changed, 0 insertions, 0 deletions