aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea/debug.c
diff options
context:
space:
mode:
authorChunfeng Yun <[email protected]>2019-11-12 06:51:48 +0000
committerGreg Kroah-Hartman <[email protected]>2019-11-14 03:14:54 +0000
commitb8029ba97b3124cbb86be045b38ac933d4e8f0ae (patch)
treed033cc4e2389118eb903cbe52c645b17b435a156 /drivers/usb/chipidea/debug.c
parentusb: renesas_usbhs: Use dma_request_chan() directly for channel request (diff)
downloadkernel-b8029ba97b3124cbb86be045b38ac933d4e8f0ae.tar.gz
kernel-b8029ba97b3124cbb86be045b38ac933d4e8f0ae.zip
usb: chipidea: debug: create debugfs directory under usb root
Move it's directory from the root of the debugfs filesystem into the root of usb Signed-off-by: Chunfeng Yun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/chipidea/debug.c')
-rw-r--r--drivers/usb/chipidea/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/debug.c b/drivers/usb/chipidea/debug.c
index fcc91a338875..e0376ee646ad 100644
--- a/drivers/usb/chipidea/debug.c
+++ b/drivers/usb/chipidea/debug.c
@@ -342,7 +342,7 @@ DEFINE_SHOW_ATTRIBUTE(ci_registers);
*/
void dbg_create_files(struct ci_hdrc *ci)
{
- ci->debugfs = debugfs_create_dir(dev_name(ci->dev), NULL);
+ ci->debugfs = debugfs_create_dir(dev_name(ci->dev), usb_debug_root);
debugfs_create_file("device", S_IRUGO, ci->debugfs, ci,
&ci_device_fops);