summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/f81232.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2012-05-07 17:24:05 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-07 22:05:51 +0200
commitc7f3619b90fc4c43ed326ec8b3f0299374763c92 (patch)
tree1568da7543af6b538cff54cbf61527b80a5369b0 /drivers/usb/serial/f81232.c
parentusb-serial: ftdi_sio: fix oops during autosuspend (diff)
downloadlinux-c7f3619b90fc4c43ed326ec8b3f0299374763c92.tar.xz
linux-c7f3619b90fc4c43ed326ec8b3f0299374763c92.zip
usb-serial: clean up unneeded PM-related fields
This patch (as1551) cleans up the PM-related entries in the usb_driver structures of the various USB serial driver modules. Those entries are now filled in by the usb-serial core during driver registration, so they don't need to be initialized explicitly in the source code. The same is true of the one remaining no_dynamic_id entry. reset_resume remains a small problem, because the serial core doesn't support it. The patch ignores these entries. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/f81232.c')
-rw-r--r--drivers/usb/serial/f81232.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/usb/serial/f81232.c b/drivers/usb/serial/f81232.c
index 46aee85210e2..c32486d73a76 100644
--- a/drivers/usb/serial/f81232.c
+++ b/drivers/usb/serial/f81232.c
@@ -355,10 +355,6 @@ static struct usb_driver f81232_driver = {
.probe = usb_serial_probe,
.disconnect = usb_serial_disconnect,
.id_table = id_table,
- .suspend = usb_serial_suspend,
- .resume = usb_serial_resume,
- .no_dynamic_id = 1,
- .supports_autosuspend = 1,
};
static struct usb_serial_driver f81232_device = {