summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3
diff options
context:
space:
mode:
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>2019-10-22 12:10:16 -0700
committerFelipe Balbi <felipe.balbi@linux.intel.com>2019-10-23 09:25:08 +0300
commit038761ce68c2354106fca276c8273351d5fe19a1 (patch)
treeec8ce714b925d5cb7c961c1ca19bda02d4ef3d3f /drivers/usb/dwc3
parent6689f0f4bb14e50917ba42eb9b41c25e0184970c (diff)
downloadlinux-038761ce68c2354106fca276c8273351d5fe19a1.tar.gz
linux-038761ce68c2354106fca276c8273351d5fe19a1.tar.bz2
linux-038761ce68c2354106fca276c8273351d5fe19a1.zip
usb: dwc3: debug: Remove newline printout
The newline from the unknown link state tracepoint doesn't follow the other tracepoints, and it looks unsightly. Let's remove it. Signed-off-by: Thinh Nguyen <thinhn@synopsys.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r--drivers/usb/dwc3/debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/dwc3/debug.h b/drivers/usb/dwc3/debug.h
index 9baabed87d61..e56beb9d1e36 100644
--- a/drivers/usb/dwc3/debug.h
+++ b/drivers/usb/dwc3/debug.h
@@ -112,7 +112,7 @@ dwc3_gadget_link_string(enum dwc3_link_state link_state)
case DWC3_LINK_STATE_RESUME:
return "Resume";
default:
- return "UNKNOWN link state\n";
+ return "UNKNOWN link state";
}
}
@@ -141,7 +141,7 @@ dwc3_gadget_hs_link_string(enum dwc3_link_state link_state)
case DWC3_LINK_STATE_RESUME:
return "Resume";
default:
- return "UNKNOWN link state\n";
+ return "UNKNOWN link state";
}
}