From d9bde9b7dbe2707c0939201324fd03fc19a64fe8 Mon Sep 17 00:00:00 2001 From: Felipe Balbi Date: Tue, 5 Apr 2016 15:05:05 +0300 Subject: [PATCH] UPSTREAM: usb: dwc3: gadget: remove newline from trace trace already adds a newline character for us, we don't need to do it ourselves. Change-Id: I1cf87e312e9f7f89916911f347fe1b4b93681c19 Signed-off-by: Felipe Balbi Signed-off-by: Wu Liang feng (cherry picked from commit 052ba52efa1717651d303a9b88f2e8cbb91702c6) --- drivers/usb/dwc3/gadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index 1d2bad1ac954..92f3e76bfbca 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c @@ -1275,7 +1275,7 @@ int __dwc3_gadget_ep_set_halt(struct dwc3_ep *dep, int value, int protocol) (!list_empty(&dep->started_list) || !list_empty(&dep->pending_list)))) { dwc3_trace(trace_dwc3_gadget, - "%s: pending request, cannot halt\n", + "%s: pending request, cannot halt", dep->name); return -EAGAIN; } -- 2.34.1