summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/cp210x.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-02-05 16:50:08 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-02 14:54:58 -0800
commit759f3634267a67ac90f3fa7fc06510dfd43b4e45 (patch)
treee40f91350c7dba0aaa2b2108b3a60f1b31109fc1 /drivers/usb/serial/cp210x.c
parent815e173e1d71742f1135fb4d4931e8115a3ca0ef (diff)
downloadop-kernel-dev-759f3634267a67ac90f3fa7fc06510dfd43b4e45.zip
op-kernel-dev-759f3634267a67ac90f3fa7fc06510dfd43b4e45.tar.gz
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/cp210x.c')
-rw-r--r--drivers/usb/serial/cp210x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c
index 61e15ef..e2600e7 100644
--- a/drivers/usb/serial/cp210x.c
+++ b/drivers/usb/serial/cp210x.c
@@ -612,7 +612,7 @@ static void cp210x_set_termios(struct tty_struct *tty,
baud);
if (cp210x_set_config_single(port, CP210X_SET_BAUDDIV,
((BAUD_RATE_GEN_FREQ + baud/2) / baud))) {
- dbg("Baud rate requested not supported by device\n");
+ dbg("Baud rate requested not supported by device");
baud = tty_termios_baud_rate(old_termios);
}
}
OpenPOWER on IntegriCloud