UPSTREAM: usb: dwc3: gadget: remove newline from trace
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 5 Apr 2016 12:05:05 +0000 (15:05 +0300)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 16 Aug 2016 12:48:19 +0000 (20:48 +0800)
trace already adds a newline character for us, we
don't need to do it ourselves.

Change-Id: I1cf87e312e9f7f89916911f347fe1b4b93681c19
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
(cherry picked from commit 052ba52efa1717651d303a9b88f2e8cbb91702c6)

drivers/usb/dwc3/gadget.c

index 1d2bad1ac95499c254fe589982df2d93fc670f08..92f3e76bfbca077286d7e65c54f501d638e1b55a 100644 (file)
@@ -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;
                }