usb-serial: clean up unneeded PM-related fields
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 7 May 2012 15:24:05 +0000 (11:24 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 May 2012 20:05:51 +0000 (13:05 -0700)
commitc7f3619b90fc4c43ed326ec8b3f0299374763c92
tree1568da7543af6b538cff54cbf61527b80a5369b0
parent5cbe61c5aff0a8ada691eb8b07dbfb55c303f640
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>
drivers/usb/serial/ch341.c
drivers/usb/serial/f81232.c
drivers/usb/serial/option.c
drivers/usb/serial/pl2303.c
drivers/usb/serial/qcserial.c
drivers/usb/serial/sierra.c
drivers/usb/serial/ssu100.c