diff options
author | Chunfeng Yun <chunfeng.yun@mediatek.com> | 2019-11-12 14:51:48 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-14 11:14:54 +0800 |
commit | b8029ba97b3124cbb86be045b38ac933d4e8f0ae (patch) | |
tree | d033cc4e2389118eb903cbe52c645b17b435a156 /drivers/usb/chipidea | |
parent | ba9f0f6eff1a34971f345cd04b13200c1d0b9b83 (diff) | |
download | linux-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.c | 2 |
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); |