usb: chipidea: support debugfs without CONFIG_USB_CHIPIDEA_DEBUG
authorPeter Chen <peter.chen@freescale.com>
Fri, 23 Oct 2015 02:33:58 +0000 (10:33 +0800)
committerPeter Chen <peter.chen@freescale.com>
Wed, 28 Oct 2015 05:56:50 +0000 (13:56 +0800)
commit124fa0db7f3952dc8ecc298a16ce81395fced87f
tree6e5faa06879a916a35baf8d72660c22778120926
parentb4065e0c9af8c61dc670a9acb5a467e9609311b1
usb: chipidea: support debugfs without CONFIG_USB_CHIPIDEA_DEBUG

Since we need to mount debugfs to show/store the things we
want to debug, it is duplicated to add another configuration
to enable it. Meanwhile, with CONFIG_USB_CHIPIDEA_DEBUG,
we can't support chipidea debugfs at runtime.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Cc: Jun Li <jun.li@freescale.com>
drivers/usb/chipidea/Makefile
drivers/usb/chipidea/ci.h
drivers/usb/chipidea/core.c
drivers/usb/chipidea/debug.c
drivers/usb/chipidea/debug.h [deleted file]
drivers/usb/chipidea/udc.c