diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-02 21:22:06 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-24 23:43:05 +0200 |
commit | 0511b36399434d49d3a6b58cf49be90d96e66848 (patch) | |
tree | 608c1ee810f2e46fb34ccd82120b57864e69367c /drivers/usb/host/sl811.h | |
parent | USB: remove unneeded idr.h include (diff) | |
download | linux-0511b36399434d49d3a6b58cf49be90d96e66848.tar.xz linux-0511b36399434d49d3a6b58cf49be90d96e66848.zip |
USB: sl811: move debug files from proc to debugfs
Drivers should not be putting debug files in /proc/ that is what debugfs
is for, so move the sl811 driver's debug file to debugfs.
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/sl811.h')
-rw-r--r-- | drivers/usb/host/sl811.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/sl811.h b/drivers/usb/host/sl811.h index 7ac5c5ee4a3e..1e23ef49bec1 100644 --- a/drivers/usb/host/sl811.h +++ b/drivers/usb/host/sl811.h @@ -122,7 +122,7 @@ struct sl811 { void __iomem *addr_reg; void __iomem *data_reg; struct sl811_platform_data *board; - struct proc_dir_entry *pde; + struct dentry *debug_file; unsigned long stat_insrmv; unsigned long stat_wake; |