From: Jiri Slaby Date: Wed, 9 Nov 2011 20:33:22 +0000 (+0100) Subject: TTY: move tty_lookup_driver to switch-cases X-Git-Tag: v3.3-rc1~154^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cd0050cf3ec4da847c3a2f7d95cffd548aef39d;p=pandora-kernel.git TTY: move tty_lookup_driver to switch-cases 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 Cc: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed