mirror of https://gitee.com/openkylin/linux.git
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
77c9e125b3
commit
d8995425ff
|
@ -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",
|
||||
state ? "En" : "Dis", ret);
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue