OSDN Git Service

usb: musb: get rid of unused proc_dir_entry
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Jul 2013 04:34:58 +0000 (21:34 -0700)
committerFelipe Balbi <balbi@ti.com>
Mon, 29 Jul 2013 10:56:50 +0000 (13:56 +0300)
The musb driver no longer uses procfs, so get rid of the proc_dir_entry
variable in struct musb.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_core.h

index 7d341c3..65f3917 100644 (file)
@@ -83,11 +83,6 @@ enum {
        MUSB_PORT_MODE_DUAL_ROLE,
 };
 
-#ifdef CONFIG_PROC_FS
-#include <linux/fs.h>
-#define MUSB_CONFIG_PROC_FS
-#endif
-
 /****************************** CONSTANTS ********************************/
 
 #ifndef MUSB_C_NUM_EPS
@@ -425,9 +420,6 @@ struct musb {
 
        struct musb_hdrc_config *config;
 
-#ifdef MUSB_CONFIG_PROC_FS
-       struct proc_dir_entry *proc_entry;
-#endif
        int                     xceiv_old_state;
 #ifdef CONFIG_DEBUG_FS
        struct dentry           *debugfs_root;