usb: dwc3: debug: Remove newline printout
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>
Tue, 22 Oct 2019 19:10:16 +0000 (12:10 -0700)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 23 Oct 2019 06:25:08 +0000 (09:25 +0300)
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>
drivers/usb/dwc3/debug.h

index 9baabed87d61b84eb7febb5753d0b342d7724e48..e56beb9d1e36c83f002052ed8ef85f75786d0b28 100644 (file)
@@ -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";
        }
 }