git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba5db44
)
TTY: move tty_lookup_driver to switch-cases
author
Jiri Slaby
<jslaby@suse.cz>
Wed, 9 Nov 2011 20:33:22 +0000
(21:33 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 15 Nov 2011 23:52:46 +0000
(15:52 -0800)
The labels express more the nature of the decision tree. We returned
from each if with a driver. Now we do this at the end of the function
and the code flow is clear.
While at it, remove an obsolete comment (we already take the
reference).
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/tty_io.c
patch
|
blob
|
history
diff --cc
drivers/tty/tty_io.c
Simple merge