usb: dwc2: move debugfs code to a separate file
authorMian Yousaf Kaukab <yousaf.kaukab@intel.com>
Wed, 29 Apr 2015 20:08:59 +0000 (22:08 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 29 Apr 2015 20:18:25 +0000 (15:18 -0500)
commitf91eea447ac32ddc24eaf1cafeb3830b44b6ceeb
tree917ae9d467c1ff69ea40ef1e08695eaec2be4bcb
parentb189a2117223edbe40e0a187ae5c606cbdd6447c
usb: dwc2: move debugfs code to a separate file

Prepare to add more debug code. Moreover, don't save dentry * for
each file in struct dwc2_hsotg as clean up is done with
debugfs_remove_recursive(). s3c_hsotg_delete_debug() is removed
altogether for the same reason.

Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/Makefile
drivers/usb/dwc2/core.h
drivers/usb/dwc2/debug.h [new file with mode: 0644]
drivers/usb/dwc2/debugfs.c [new file with mode: 0644]
drivers/usb/dwc2/gadget.c
drivers/usb/dwc2/platform.c