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>
Thu, 24 Dec 2015 06:15:26 +0000 (14:15 +0800)
commit9d8c850d02b01f3e0157a8f9859fe3f04cab68fe
tree8973c4e998ce6d32086e7678c4c0e11517916a77
parent779debdf26d4b49598e61e0c28ac97146a2b96fe
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