diff options
author | Jiri Slaby <jslaby@suse.cz> | 2011-03-23 09:48:32 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-19 21:42:59 (GMT) |
commit | d55435037539837a741d54690427d37f96ed87fa (patch) | |
tree | 24784d5465a5634afa89dd1d6fa67151cfaec1ff /fs/sysfs | |
parent | d65c57f4ece4c31380eef9975a04840df7b260cc (diff) | |
download | linux-fsl-qoriq-d55435037539837a741d54690427d37f96ed87fa.tar.xz |
TTY: unify tty_init_dev fail path handling
Change it so that we call the deinit functions at one place at the end
of the function (by gotos). And while at it use some sane label names.
This is a preparation for the deinitialization of tty in the next
patch.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/sysfs')
0 files changed, 0 insertions, 0 deletions