aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/usb-serial.c
diff options
context:
space:
mode:
authorOliver Neukum <oliver@neukum.org>2009-02-09 04:03:49 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2009-03-24 19:20:30 -0400
commit1c27ae671e6b465e04544450276c88f4dba8de60 (patch)
tree6689fd10c3c6715c2262f00c2d28bcb63df57802 /drivers/usb/serial/usb-serial.c
parenta5f5ea230d70f5dde4d787208855fa3c3cd7b31e (diff)
USB: serial: remove recourse to generic method
This removes the fallback to the generic method. It is cleaner to explicitely request it. Introducing this was my mistake. This will be solved by an explicit test and the driver being allowed to request what it needs to be done upon resumption. Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/usb-serial.c')
-rw-r--r--drivers/usb/serial/usb-serial.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c
index 18f940847316..9a2617845dfc 100644
--- a/drivers/usb/serial/usb-serial.c
+++ b/drivers/usb/serial/usb-serial.c
@@ -1229,7 +1229,6 @@ static void fixup_generic(struct usb_serial_driver *device)
1229 set_to_generic_if_null(device, read_bulk_callback); 1229 set_to_generic_if_null(device, read_bulk_callback);
1230 set_to_generic_if_null(device, write_bulk_callback); 1230 set_to_generic_if_null(device, write_bulk_callback);
1231 set_to_generic_if_null(device, shutdown); 1231 set_to_generic_if_null(device, shutdown);
1232 set_to_generic_if_null(device, resume);
1233} 1232}
1234 1233
1235int usb_serial_register(struct usb_serial_driver *driver) 1234int usb_serial_register(struct usb_serial_driver *driver)