提交 1c27ae67 编写于 作者: O Oliver Neukum 提交者: Greg Kroah-Hartman

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: NOliver Neukum <oneukum@suse.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 a5f5ea23
...@@ -1229,7 +1229,6 @@ static void fixup_generic(struct usb_serial_driver *device) ...@@ -1229,7 +1229,6 @@ static void fixup_generic(struct usb_serial_driver *device)
set_to_generic_if_null(device, read_bulk_callback); set_to_generic_if_null(device, read_bulk_callback);
set_to_generic_if_null(device, write_bulk_callback); set_to_generic_if_null(device, write_bulk_callback);
set_to_generic_if_null(device, shutdown); set_to_generic_if_null(device, shutdown);
set_to_generic_if_null(device, resume);
} }
int usb_serial_register(struct usb_serial_driver *driver) int usb_serial_register(struct usb_serial_driver *driver)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册