]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
tty: Add a full port_close function
authorAlan Cox <alan@linux.intel.com>
Sat, 19 Sep 2009 20:13:20 +0000 (13:13 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Oct 2009 16:32:34 +0000 (09:32 -0700)
commit4260dc792fabfd20c8644fa9414b2ae48372365f
treef609caf9824847faba276bd1291d1e6934466f15
parent51451faaad9348b73a0c1e00e984a6029fca37fd
tty: Add a full port_close function

commit 7ca0ff9ab3218ec443a7a9ad247e4650373ed41e upstream.

Now we are extracting out methods for shutdown and the like we can add a
proper tty_port_close method that knows all the innards of the tty closing
process and hides the lot from the caller.

At some point in the future this will be paired with a similar open()
helper and the drivers can stick to hardware management.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/tty_port.c
include/linux/tty.h