tty: extract the pty init time special cases
authorAlan Cox <alan@redhat.com>
Mon, 13 Oct 2008 09:42:39 +0000 (10:42 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Oct 2008 16:51:43 +0000 (09:51 -0700)
commitbf970ee46e0fb363c8df4393229121d54330a98e
tree3beb09c369b3459e70689b5f9a35caacf063f116
parent73ec06fc5f5c8e1097a7a4a4ab2d7c6c3a007e81
tty: extract the pty init time special cases

The majority of the remaining init_dev code is pty special cases. We
refactor this code into the driver->install method.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/pty.c
drivers/char/tty_io.c
include/linux/tty.h