diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2012-05-07 11:24:05 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-07 16:05:51 -0400 |
commit | c7f3619b90fc4c43ed326ec8b3f0299374763c92 (patch) | |
tree | 1568da7543af6b538cff54cbf61527b80a5369b0 /drivers/usb/serial/sierra.c | |
parent | 5cbe61c5aff0a8ada691eb8b07dbfb55c303f640 (diff) |
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/sierra.c')
-rw-r--r-- | drivers/usb/serial/sierra.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/serial/sierra.c b/drivers/usb/serial/sierra.c index f298ddaac684..7b7771491a64 100644 --- a/drivers/usb/serial/sierra.c +++ b/drivers/usb/serial/sierra.c | |||
@@ -1055,11 +1055,8 @@ static struct usb_driver sierra_driver = { | |||
1055 | .name = "sierra", | 1055 | .name = "sierra", |
1056 | .probe = usb_serial_probe, | 1056 | .probe = usb_serial_probe, |
1057 | .disconnect = usb_serial_disconnect, | 1057 | .disconnect = usb_serial_disconnect, |
1058 | .suspend = usb_serial_suspend, | ||
1059 | .resume = usb_serial_resume, | ||
1060 | .reset_resume = sierra_reset_resume, | 1058 | .reset_resume = sierra_reset_resume, |
1061 | .id_table = id_table, | 1059 | .id_table = id_table, |
1062 | .supports_autosuspend = 1, | ||
1063 | }; | 1060 | }; |
1064 | 1061 | ||
1065 | static struct usb_serial_driver sierra_device = { | 1062 | static struct usb_serial_driver sierra_device = { |