summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>2019-10-22 21:10:16 +0200
committerFelipe Balbi <felipe.balbi@linux.intel.com>2019-10-23 08:25:08 +0200
commit038761ce68c2354106fca276c8273351d5fe19a1 (patch)
treeec8ce714b925d5cb7c961c1ca19bda02d4ef3d3f /drivers/usb
parentusb: dwc2: use a longer core rest timeout in dwc2_core_reset() (diff)
downloadlinux-038761ce68c2354106fca276c8273351d5fe19a1.tar.xz
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')
-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";
}
}