tty: Move parts of tty_init_dev into new functions
commit23499705753ab8b4c6b0b64e6c424a370bd900a1
authorSukadev Bhattiprolu <sukadev@us.ibm.com>
Mon, 13 Oct 2008 09:41:51 +0000 (13 10:41 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Oct 2008 16:51:42 +0000 (13 09:51 -0700)
treedb092164c37a2c2897275a37d61ef325a59808d9
parentd81ed10307027e1643a65ab5fe17cc01233d376d
tty: Move parts of tty_init_dev into new functions

Move the 'find-tty' and 'fast-track-open' parts of init_dev() to
separate functions.

Signed-off-by: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tty_io.c