]> git.baikalelectronics.ru Git - kernel.git/commit
usb_serial: Use the shutdown() operation
authorAlan Cox <alan@linux.intel.com>
Tue, 6 Oct 2009 15:06:36 +0000 (16:06 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 23:18:04 +0000 (15:18 -0800)
commit4671eecf7b648641c1035a2e2cbba26f07a82e74
treef5dc7d7ec62187cd8c808063d1187457ea7ccade
parent04dfb598e2b1af6a3f9ead4716669244fded569f
usb_serial: Use the shutdown() operation

As Alan Stern pointed out - now we have tty_port_open the shutdown method
and locking allow us to whack the other bits into the full helper methods
and provide a shutdown op which the tty port code will synchronize with
setup for us.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/usb-serial.c