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>
This commit is contained in:
Nicolas Boichat 2020-06-27 15:03:04 +08:00 committed by Greg Kroah-Hartman
parent 05026c9a01
commit b3a5ce874c

View File

@ -421,7 +421,7 @@ static int cdns3_start_all_request(struct cdns3_device *priv_dev,
if ((priv_req->flags & REQUEST_INTERNAL) ||
(priv_ep->flags & EP_TDLCHK_EN) ||
priv_ep->use_streams) {
trace_printk("Blocking external request\n");
dev_dbg(priv_dev->dev, "Blocking external request\n");
return ret;
}
}