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)
commite1108a63e10d344284011cccc06328b2cd3e5da3
treef5dc7d7ec62187cd8c808063d1187457ea7ccade
parentd774a56d2353933cf21cc92a9d0012c7b69d09bf
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