From: Greg Kroah-Hartman Date: Wed, 2 May 2012 04:33:25 +0000 (-0700) Subject: USB: speedtch.c: remove dbg() usage X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d8995425ff915d318b1cb63adbf856e6e4e1340e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/atm/speedtch.c b/drivers/usb/atm/speedtch.c index 98dd9e49b684..975e9c6691d6 100644 --- a/drivers/usb/atm/speedtch.c +++ b/drivers/usb/atm/speedtch.c @@ -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)