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

usb: cdns3: gadget: Replace trace_printk by dev_dbg

trace_printk should not be used in production code, replace it
call with dev_dbg.

Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>

Link: https://lore.kernel.org/r/20200627070307.516803-2-drinkcat@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Nicolas Boichat and committed by
Greg Kroah-Hartman
b3a5ce87 05026c9a

+1 -1
+1 -1
drivers/usb/cdns3/gadget.c
··· 421 421 if ((priv_req->flags & REQUEST_INTERNAL) || 422 422 (priv_ep->flags & EP_TDLCHK_EN) || 423 423 priv_ep->use_streams) { 424 - trace_printk("Blocking external request\n"); 424 + dev_dbg(priv_dev->dev, "Blocking external request\n"); 425 425 return ret; 426 426 } 427 427 }