summaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea/debug.h
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2013-03-30 11:53:51 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-30 16:08:39 +0100
commit2d6512892c106556f07e502939005e73cdc6e2cc (patch)
treeb22c386e25574e314cd50745a4289c5407e5af52 /drivers/usb/chipidea/debug.h
parentusb: chipidea: remove home-grown tracing facility (diff)
downloadlinux-2d6512892c106556f07e502939005e73cdc6e2cc.tar.xz
linux-2d6512892c106556f07e502939005e73cdc6e2cc.zip
usb: chipidea: convert debug entries in sysfs to debugfs
Currently, we have a bunch of files in sysfs that display all sorts of debugging information for the device controller, so they have to move to debugfs where they belong. The "registers" interface have been removed, since it doesn't fit into the current driver design as is and it's hardly a good idea to touch the registers from userspace anyway. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/debug.h')
-rw-r--r--drivers/usb/chipidea/debug.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/usb/chipidea/debug.h b/drivers/usb/chipidea/debug.h
index 425f1ff6284a..7ca6ca0a24a5 100644
--- a/drivers/usb/chipidea/debug.h
+++ b/drivers/usb/chipidea/debug.h
@@ -14,17 +14,16 @@
#define __DRIVERS_USB_CHIPIDEA_DEBUG_H
#ifdef CONFIG_USB_CHIPIDEA_DEBUG
-int dbg_create_files(struct device *dev);
-int dbg_remove_files(struct device *dev);
+int dbg_create_files(struct ci13xxx *ci);
+void dbg_remove_files(struct ci13xxx *ci);
#else
-static inline int dbg_create_files(struct device *dev)
+static inline int dbg_create_files(struct ci13xxx *ci)
{
return 0;
}
-static inline int dbg_remove_files(struct device *dev)
+static inline void dbg_remove_files(struct ci13xxx *ci)
{
- return 0;
}
#endif