summaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea
diff options
context:
space:
mode:
authorChunfeng Yun <chunfeng.yun@mediatek.com>2019-11-12 14:51:48 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-14 11:14:54 +0800
commitb8029ba97b3124cbb86be045b38ac933d4e8f0ae (patch)
treed033cc4e2389118eb903cbe52c645b17b435a156 /drivers/usb/chipidea
parentba9f0f6eff1a34971f345cd04b13200c1d0b9b83 (diff)
downloadlinux-b8029ba97b3124cbb86be045b38ac933d4e8f0ae.tar.gz
linux-b8029ba97b3124cbb86be045b38ac933d4e8f0ae.tar.bz2
linux-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 <chunfeng.yun@mediatek.com> Link: https://lore.kernel.org/r/1573541519-28488-2-git-send-email-chunfeng.yun@mediatek.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea')
-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);