usb: chipidea: move debug files creation/removal to the core
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Sat, 30 Mar 2013 10:53:53 +0000 (12:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Mar 2013 15:08:39 +0000 (08:08 -0700)
commitadf0f735e61aae5ff615bb0301d9fff29b589a5c
treeb55bd577247cbcf5f3a297dfe263c29c2b4678d0
parentc8e333a3b17050800a5aa536feb628f18d2a01a2
usb: chipidea: move debug files creation/removal to the core

Create and remove debugfs entries in hdrc probe/remove instead of
start/stop of the device controller. Gadget specific will not export
anything while the controller is in host mode.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/core.c
drivers/usb/chipidea/udc.c