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 <thi...@synopsys.com>
---
 drivers/usb/dwc3/debug.h | 4 ++--
 1 file 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";
        }
 }
 
-- 
2.11.0

Reply via email to