Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Fix oti6858 debug level

For some reason the oti6858 driver undefines and redefines the dbg
macro. This makes it spew debugging messages at KERN_INFO instead of
KERN_DEBUG.

This patch removes the undef and define making the driver log like every
other USB serial driver.

Signed-off-by: Scott Ashcroft <scott.ashcroft@talk21.com>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Scott Ashcroft and committed by
Linus Torvalds
7aef709b ab2375f2

-4
-4
drivers/usb/serial/oti6858.c
··· 224 224 struct usb_serial_port *port; /* USB port with which associated */ 225 225 }; 226 226 227 - #undef dbg 228 - /* #define dbg(format, arg...) printk(KERN_INFO "%s: " format "\n", __FILE__, ## arg) */ 229 - #define dbg(format, arg...) printk(KERN_INFO "" format "\n", ## arg) 230 - 231 227 static void setup_line(struct work_struct *work) 232 228 { 233 229 struct oti6858_private *priv = container_of(work,