commit | 5b5e70408f1e8a48deebedc26ba982bbc7db343e | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Wed Nov 09 21:33:20 2011 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Nov 15 15:52:45 2011 -0800 |
tree | 67abea63ef57bac25f300eadd567b290bcae1794 | |
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>