diff options
author | Jiri Slaby <jslaby@suse.cz> | 2011-11-09 15:33:20 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-15 18:52:45 -0500 |
commit | 5b5e70408f1e8a48deebedc26ba982bbc7db343e (patch) | |
tree | 67abea63ef57bac25f300eadd567b290bcae1794 /scripts/bloat-o-meter | |
parent | b82154ac37a7d12335c7c3d3c34c549171ec0cb4 (diff) |
TTY: extract driver lookup from tty_open
The error handling in tty_open became unbearable. There were many
errors fixed recently. Extract the tty driver lookup from tty_open to
a separate function. This reduces the fail paths significantly and
makes tty_open more readable.
In the next patch we will move the fail path handling to the end of
the function.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'scripts/bloat-o-meter')
0 files changed, 0 insertions, 0 deletions