TTY: provide tty_standard_install helper
authorJiri Slaby <jslaby@suse.cz>
Mon, 30 Jan 2012 20:14:28 +0000 (21:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Feb 2012 22:55:45 +0000 (14:55 -0800)
commit66d450e84ec656ec4b774c41cd8d46b3e48d51df
tree3a2d623257ec6ac04de296fa98f8485bd4b0a3f8
parent6bbcbf22085e0b144899d6067e243dd26c0e7533
TTY: provide tty_standard_install helper

There are currently many cut&paste copies of what
tty_driver_install_tty does when custom ->install method is not
provided. Let's get rid of the copies and create a helper with this
setup code.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Havard Skinnemoen <hskinnemoen@google.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c
include/linux/tty.h
This page took 0.031209 seconds and 5 git commands to generate.