diff options
author | Joe Perches <joe@perches.com> | 2010-02-05 19:50:08 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-02 17:54:58 -0500 |
commit | 759f3634267a67ac90f3fa7fc06510dfd43b4e45 (patch) | |
tree | e40f91350c7dba0aaa2b2108b3a60f1b31109fc1 /drivers/usb/serial/option.c | |
parent | 815e173e1d71742f1135fb4d4931e8115a3ca0ef (diff) |
USB: serial: Remove unnecessary \n's from dbg uses
#define dbg adds the newline, messages shouldn't.
Converted dbg("%s", "some string") to dbg("some string")
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/option.c')
-rw-r--r-- | drivers/usb/serial/option.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 51b0beb39280..f6646b30f954 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c | |||
@@ -1028,7 +1028,7 @@ static void option_instat_callback(struct urb *urb) | |||
1028 | (struct usb_ctrlrequest *)urb->transfer_buffer; | 1028 | (struct usb_ctrlrequest *)urb->transfer_buffer; |
1029 | 1029 | ||
1030 | if (!req_pkt) { | 1030 | if (!req_pkt) { |
1031 | dbg("%s: NULL req_pkt\n", __func__); | 1031 | dbg("%s: NULL req_pkt", __func__); |
1032 | return; | 1032 | return; |
1033 | } | 1033 | } |
1034 | if ((req_pkt->bRequestType == 0xA1) && | 1034 | if ((req_pkt->bRequestType == 0xA1) && |
@@ -1452,7 +1452,7 @@ static int option_resume(struct usb_serial *serial) | |||
1452 | for (i = 0; i < serial->num_ports; i++) { | 1452 | for (i = 0; i < serial->num_ports; i++) { |
1453 | port = serial->port[i]; | 1453 | port = serial->port[i]; |
1454 | if (!port->interrupt_in_urb) { | 1454 | if (!port->interrupt_in_urb) { |
1455 | dbg("%s: No interrupt URB for port %d\n", __func__, i); | 1455 | dbg("%s: No interrupt URB for port %d", __func__, i); |
1456 | continue; | 1456 | continue; |
1457 | } | 1457 | } |
1458 | err = usb_submit_urb(port->interrupt_in_urb, GFP_NOIO); | 1458 | err = usb_submit_urb(port->interrupt_in_urb, GFP_NOIO); |