提交 e63aa508 编写于 作者: J Johan Hovold 提交者: Greg Kroah-Hartman

USB: usb_debug: fix indentation

Use tabs for indentation.
Signed-off-by: NJohan Hovold <jhovold@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 1ce7b934
...@@ -40,7 +40,7 @@ static struct usb_driver debug_driver = { ...@@ -40,7 +40,7 @@ static struct usb_driver debug_driver = {
.probe = usb_serial_probe, .probe = usb_serial_probe,
.disconnect = usb_serial_disconnect, .disconnect = usb_serial_disconnect,
.id_table = id_table, .id_table = id_table,
.no_dynamic_id = 1, .no_dynamic_id = 1,
}; };
/* This HW really does not support a serial break, so one will be /* This HW really does not support a serial break, so one will be
...@@ -59,8 +59,8 @@ static void usb_debug_read_bulk_callback(struct urb *urb) ...@@ -59,8 +59,8 @@ static void usb_debug_read_bulk_callback(struct urb *urb)
struct usb_serial_port *port = urb->context; struct usb_serial_port *port = urb->context;
if (urb->actual_length == USB_DEBUG_BRK_SIZE && if (urb->actual_length == USB_DEBUG_BRK_SIZE &&
memcmp(urb->transfer_buffer, USB_DEBUG_BRK, memcmp(urb->transfer_buffer, USB_DEBUG_BRK,
USB_DEBUG_BRK_SIZE) == 0) { USB_DEBUG_BRK_SIZE) == 0) {
usb_serial_handle_break(port); usb_serial_handle_break(port);
usb_serial_generic_submit_read_urb(port, GFP_ATOMIC); usb_serial_generic_submit_read_urb(port, GFP_ATOMIC);
return; return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册