Commit d8995425 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: speedtch.c: remove dbg() usage

dbg() was a very old USB-specific macro that should no longer
be used. This patch removes it from being used in the driver
and uses dev_dbg() instead.

CC: Duncan Sands <duncan.sands@free.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 77c9e125
...@@ -170,7 +170,7 @@ static void speedtch_set_swbuff(struct speedtch_instance_data *instance, int sta ...@@ -170,7 +170,7 @@ static void speedtch_set_swbuff(struct speedtch_instance_data *instance, int sta
"%sabling SW buffering: usb_control_msg returned %d\n", "%sabling SW buffering: usb_control_msg returned %d\n",
state ? "En" : "Dis", ret); state ? "En" : "Dis", ret);
else else
dbg("speedtch_set_swbuff: %sbled SW buffering", state ? "En" : "Dis"); usb_dbg(usbatm, "speedtch_set_swbuff: %sbled SW buffering\n", state ? "En" : "Dis");
} }
static void speedtch_test_sequence(struct speedtch_instance_data *instance) static void speedtch_test_sequence(struct speedtch_instance_data *instance)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment