USB: serial: hook up reset_resume callback
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 May 2012 22:40:00 +0000 (15:40 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 May 2012 22:40:00 +0000 (15:40 -0700)
commit7186364e46c3800635c283924bf25433d0a556a2
tree56f00dd399c776aad84cbf2ee09a9974f032b9df
parent09c94e628ac3f871f06eaa7a5be266ca1aaa75a1
USB: serial: hook up reset_resume callback

The callback is now hooked up for any USB to serial driver that wants
it.  We only register the callback if any of the usb-serial structures
want it, this keeps the USB core happy.

Thanks to Alan Stern for the ideas on how to do this.

Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/usb-serial.c
include/linux/usb/serial.h