aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2014-09-24 12:22:23 -0400
committerFelipe Balbi <balbi@ti.com>2014-11-03 11:00:53 -0500
commitdab716cd9aeea6f2b2524523461326aefa219291 (patch)
tree1971e4e6ad17cb55e1b8e37e54c64fd1b214b97a
parentfa0ea13e9f1c2b4707879ca3dbe4cf29c741857a (diff)
usb: dwc3: trace: remove unnecessary newline character
tracing infrastructure already adds those for us. Signed-off-by: Felipe Balbi <balbi@ti.com>
-rw-r--r--drivers/usb/dwc3/ep0.c18
-rw-r--r--drivers/usb/dwc3/trace.h8
2 files changed, 13 insertions, 13 deletions
diff --git a/drivers/usb/dwc3/ep0.c b/drivers/usb/dwc3/ep0.c
index 711b23019d54..df964d8f3bf0 100644
--- a/drivers/usb/dwc3/ep0.c
+++ b/drivers/usb/dwc3/ep0.c
@@ -700,35 +700,35 @@ static int dwc3_ep0_std_request(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl)
700 700
701 switch (ctrl->bRequest) { 701 switch (ctrl->bRequest) {
702 case USB_REQ_GET_STATUS: 702 case USB_REQ_GET_STATUS:
703 dwc3_trace(trace_dwc3_ep0, "USB_REQ_GET_STATUS\n"); 703 dwc3_trace(trace_dwc3_ep0, "USB_REQ_GET_STATUS");
704 ret = dwc3_ep0_handle_status(dwc, ctrl); 704 ret = dwc3_ep0_handle_status(dwc, ctrl);
705 break; 705 break;
706 case USB_REQ_CLEAR_FEATURE: 706 case USB_REQ_CLEAR_FEATURE:
707 dwc3_trace(trace_dwc3_ep0, "USB_REQ_CLEAR_FEATURE\n"); 707 dwc3_trace(trace_dwc3_ep0, "USB_REQ_CLEAR_FEATURE");
708 ret = dwc3_ep0_handle_feature(dwc, ctrl, 0); 708 ret = dwc3_ep0_handle_feature(dwc, ctrl, 0);
709 break; 709 break;
710 case USB_REQ_SET_FEATURE: 710 case USB_REQ_SET_FEATURE:
711 dwc3_trace(trace_dwc3_ep0, "USB_REQ_SET_FEATURE\n"); 711 dwc3_trace(trace_dwc3_ep0, "USB_REQ_SET_FEATURE");
712 ret = dwc3_ep0_handle_feature(dwc, ctrl, 1); 712 ret = dwc3_ep0_handle_feature(dwc, ctrl, 1);
713 break; 713 break;
714 case USB_REQ_SET_ADDRESS: 714 case USB_REQ_SET_ADDRESS:
715 dwc3_trace(trace_dwc3_ep0, "USB_REQ_SET_ADDRESS\n"); 715 dwc3_trace(trace_dwc3_ep0, "USB_REQ_SET_ADDRESS");
716 ret = dwc3_ep0_set_address(dwc, ctrl); 716 ret = dwc3_ep0_set_address(dwc, ctrl);
717 break; 717 break;
718 case USB_REQ_SET_CONFIGURATION: 718 case USB_REQ_SET_CONFIGURATION:
719 dwc3_trace(trace_dwc3_ep0, "USB_REQ_SET_CONFIGURATION\n"); 719 dwc3_trace(trace_dwc3_ep0, "USB_REQ_SET_CONFIGURATION");
720 ret = dwc3_ep0_set_config(dwc, ctrl); 720 ret = dwc3_ep0_set_config(dwc, ctrl);
721 break; 721 break;
722 case USB_REQ_SET_SEL: 722 case USB_REQ_SET_SEL:
723 dwc3_trace(trace_dwc3_ep0, "USB_REQ_SET_SEL\n"); 723 dwc3_trace(trace_dwc3_ep0, "USB_REQ_SET_SEL");
724 ret = dwc3_ep0_set_sel(dwc, ctrl); 724 ret = dwc3_ep0_set_sel(dwc, ctrl);
725 break; 725 break;
726 case USB_REQ_SET_ISOCH_DELAY: 726 case USB_REQ_SET_ISOCH_DELAY:
727 dwc3_trace(trace_dwc3_ep0, "USB_REQ_SET_ISOCH_DELAY\n"); 727 dwc3_trace(trace_dwc3_ep0, "USB_REQ_SET_ISOCH_DELAY");
728 ret = dwc3_ep0_set_isoch_delay(dwc, ctrl); 728 ret = dwc3_ep0_set_isoch_delay(dwc, ctrl);
729 break; 729 break;
730 default: 730 default:
731 dwc3_trace(trace_dwc3_ep0, "Forwarding to gadget driver\n"); 731 dwc3_trace(trace_dwc3_ep0, "Forwarding to gadget driver");
732 ret = dwc3_ep0_delegate_req(dwc, ctrl); 732 ret = dwc3_ep0_delegate_req(dwc, ctrl);
733 break; 733 break;
734 } 734 }
@@ -875,7 +875,7 @@ static void dwc3_ep0_complete_status(struct dwc3 *dwc,
875 875
876 status = DWC3_TRB_SIZE_TRBSTS(trb->size); 876 status = DWC3_TRB_SIZE_TRBSTS(trb->size);
877 if (status == DWC3_TRBSTS_SETUP_PENDING) 877 if (status == DWC3_TRBSTS_SETUP_PENDING)
878 dwc3_trace(trace_dwc3_ep0, "Setup Pending received\n"); 878 dwc3_trace(trace_dwc3_ep0, "Setup Pending received");
879 879
880 dwc->ep0state = EP0_SETUP_PHASE; 880 dwc->ep0state = EP0_SETUP_PHASE;
881 dwc3_ep0_out_start(dwc); 881 dwc3_ep0_out_start(dwc);
diff --git a/drivers/usb/dwc3/trace.h b/drivers/usb/dwc3/trace.h
index 60b0f41eafc4..7a9d7804193c 100644
--- a/drivers/usb/dwc3/trace.h
+++ b/drivers/usb/dwc3/trace.h
@@ -61,7 +61,7 @@ DECLARE_EVENT_CLASS(dwc3_log_event,
61 TP_fast_assign( 61 TP_fast_assign(
62 __entry->event = event; 62 __entry->event = event;
63 ), 63 ),
64 TP_printk("event %08x\n", __entry->event) 64 TP_printk("event %08x", __entry->event)
65); 65);
66 66
67DEFINE_EVENT(dwc3_log_event, dwc3_event, 67DEFINE_EVENT(dwc3_log_event, dwc3_event,
@@ -157,7 +157,7 @@ DECLARE_EVENT_CLASS(dwc3_log_generic_cmd,
157 __entry->cmd = cmd; 157 __entry->cmd = cmd;
158 __entry->param = param; 158 __entry->param = param;
159 ), 159 ),
160 TP_printk("cmd '%s' [%d] param %08x\n", 160 TP_printk("cmd '%s' [%d] param %08x",
161 dwc3_gadget_generic_cmd_string(__entry->cmd), 161 dwc3_gadget_generic_cmd_string(__entry->cmd),
162 __entry->cmd, __entry->param 162 __entry->cmd, __entry->param
163 ) 163 )
@@ -182,7 +182,7 @@ DECLARE_EVENT_CLASS(dwc3_log_gadget_ep_cmd,
182 __entry->cmd = cmd; 182 __entry->cmd = cmd;
183 __entry->params = params; 183 __entry->params = params;
184 ), 184 ),
185 TP_printk("%s: cmd '%s' [%d] params %08x %08x %08x\n", 185 TP_printk("%s: cmd '%s' [%d] params %08x %08x %08x",
186 __get_str(name), dwc3_gadget_ep_cmd_string(__entry->cmd), 186 __get_str(name), dwc3_gadget_ep_cmd_string(__entry->cmd),
187 __entry->cmd, __entry->params->param0, 187 __entry->cmd, __entry->params->param0,
188 __entry->params->param1, __entry->params->param2 188 __entry->params->param1, __entry->params->param2
@@ -214,7 +214,7 @@ DECLARE_EVENT_CLASS(dwc3_log_trb,
214 __entry->size = trb->size; 214 __entry->size = trb->size;
215 __entry->ctrl = trb->ctrl; 215 __entry->ctrl = trb->ctrl;
216 ), 216 ),
217 TP_printk("%s: trb %p bph %08x bpl %08x size %08x ctrl %08x\n", 217 TP_printk("%s: trb %p bph %08x bpl %08x size %08x ctrl %08x",
218 __get_str(name), __entry->trb, __entry->bph, __entry->bpl, 218 __get_str(name), __entry->trb, __entry->bph, __entry->bpl,
219 __entry->size, __entry->ctrl 219 __entry->size, __entry->ctrl
220 ) 220 )