aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/debug.h
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2016-11-03 08:07:51 -0400
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-11-08 05:52:13 -0500
commit5eb30cedced64cea63005555c1ef67359ffe191f (patch)
tree1d4425e3d82b22fa1aaa54e82e84e2df2d040a67 /drivers/usb/dwc3/debug.h
parent2870e5013e199fab8ba6e4a0e7d0614d46dc9e36 (diff)
usb: dwc3: trace: purge dwc3_trace()
Finally get rid of dwc3_trace() hack. If any other message is truly needed, we should add proper tracepoints for them instead of hacking around with dwc3_trace() or similar. Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/debug.h')
-rw-r--r--drivers/usb/dwc3/debug.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/usb/dwc3/debug.h b/drivers/usb/dwc3/debug.h
index d93780e84f07..eeed4ffd8131 100644
--- a/drivers/usb/dwc3/debug.h
+++ b/drivers/usb/dwc3/debug.h
@@ -345,13 +345,6 @@ static inline const char *dwc3_gadget_generic_cmd_status_string(int status)
345} 345}
346 346
347 347
348#if IS_ENABLED(CONFIG_FTRACE)
349void dwc3_trace(void (*trace)(struct va_format *), const char *fmt, ...);
350#else
351static inline void dwc3_trace(void (*trace)(struct va_format *), const char *fmt, ...)
352{ }
353#endif
354
355#ifdef CONFIG_DEBUG_FS 348#ifdef CONFIG_DEBUG_FS
356extern void dwc3_debugfs_init(struct dwc3 *); 349extern void dwc3_debugfs_init(struct dwc3 *);
357extern void dwc3_debugfs_exit(struct dwc3 *); 350extern void dwc3_debugfs_exit(struct dwc3 *);