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/mos7720.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/mos7720.c')
-rw-r--r-- | drivers/usb/serial/mos7720.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/usb/serial/mos7720.c b/drivers/usb/serial/mos7720.c index e0aa031c5418..546b29f73c2c 100644 --- a/drivers/usb/serial/mos7720.c +++ b/drivers/usb/serial/mos7720.c | |||
@@ -109,7 +109,7 @@ static void mos7720_interrupt_callback(struct urb *urb) | |||
109 | __u8 sp1; | 109 | __u8 sp1; |
110 | __u8 sp2; | 110 | __u8 sp2; |
111 | 111 | ||
112 | dbg("%s", " : Entering\n"); | 112 | dbg(" : Entering"); |
113 | 113 | ||
114 | switch (status) { | 114 | switch (status) { |
115 | case 0: | 115 | case 0: |
@@ -278,7 +278,7 @@ static void mos7720_bulk_in_callback(struct urb *urb) | |||
278 | 278 | ||
279 | mos7720_port = urb->context; | 279 | mos7720_port = urb->context; |
280 | if (!mos7720_port) { | 280 | if (!mos7720_port) { |
281 | dbg("%s", "NULL mos7720_port pointer \n"); | 281 | dbg("NULL mos7720_port pointer"); |
282 | return ; | 282 | return ; |
283 | } | 283 | } |
284 | 284 | ||
@@ -386,7 +386,7 @@ static int send_mos_cmd(struct usb_serial *serial, __u8 request, __u16 value, | |||
386 | } | 386 | } |
387 | out: | 387 | out: |
388 | if (status < 0) | 388 | if (status < 0) |
389 | dbg("Command Write failed Value %x index %x\n", value, index); | 389 | dbg("Command Write failed Value %x index %x", value, index); |
390 | 390 | ||
391 | return status; | 391 | return status; |
392 | } | 392 | } |
@@ -491,7 +491,7 @@ static int mos7720_open(struct tty_struct *tty, struct usb_serial_port *port) | |||
491 | */ | 491 | */ |
492 | port_number = port->number - port->serial->minor; | 492 | port_number = port->number - port->serial->minor; |
493 | send_mos_cmd(port->serial, MOS_READ, port_number, UART_LSR, &data); | 493 | send_mos_cmd(port->serial, MOS_READ, port_number, UART_LSR, &data); |
494 | dbg("SS::%p LSR:%x\n", mos7720_port, data); | 494 | dbg("SS::%p LSR:%x", mos7720_port, data); |
495 | 495 | ||
496 | dbg("Check:Sending Command .........."); | 496 | dbg("Check:Sending Command .........."); |
497 | 497 | ||
@@ -830,7 +830,7 @@ static void mos7720_throttle(struct tty_struct *tty) | |||
830 | struct moschip_port *mos7720_port; | 830 | struct moschip_port *mos7720_port; |
831 | int status; | 831 | int status; |
832 | 832 | ||
833 | dbg("%s- port %d\n", __func__, port->number); | 833 | dbg("%s- port %d", __func__, port->number); |
834 | 834 | ||
835 | mos7720_port = usb_get_serial_port_data(port); | 835 | mos7720_port = usb_get_serial_port_data(port); |
836 | 836 | ||
@@ -1309,7 +1309,7 @@ static void mos7720_set_termios(struct tty_struct *tty, | |||
1309 | return; | 1309 | return; |
1310 | } | 1310 | } |
1311 | 1311 | ||
1312 | dbg("%s\n", "setting termios - ASPIRE"); | 1312 | dbg("setting termios - ASPIRE"); |
1313 | 1313 | ||
1314 | cflag = tty->termios->c_cflag; | 1314 | cflag = tty->termios->c_cflag; |
1315 | 1315 | ||
@@ -1327,7 +1327,7 @@ static void mos7720_set_termios(struct tty_struct *tty, | |||
1327 | change_port_settings(tty, mos7720_port, old_termios); | 1327 | change_port_settings(tty, mos7720_port, old_termios); |
1328 | 1328 | ||
1329 | if (!port->read_urb) { | 1329 | if (!port->read_urb) { |
1330 | dbg("%s", "URB KILLED !!!!!\n"); | 1330 | dbg("URB KILLED !!!!!"); |
1331 | return; | 1331 | return; |
1332 | } | 1332 | } |
1333 | 1333 | ||