[PATCH 14/28] usb: mtu3: use usb_debugfs_create_dir() to create directory

Chunfeng Yun
2019-11-06T03:17:09Z

The usb_debug_root is now a file-scope static variable, use
usb_debugfs_create_dir() to create directory under usb root

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
drivers/usb/mtu3/mtu3_debugfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/mtu3/mtu3_debugfs.c b/drivers/usb/mtu3/mtu3_debugfs.c
index c96e5dab0a48..4195eb6f7a74 100644
--- a/drivers/usb/mtu3/mtu3_debugfs.c
+++ b/drivers/usb/mtu3/mtu3_debugfs.c
@@ -529,7 +529,7 @@ void ssusb_dr_debugfs_init(struct ssusb_mtk *ssusb)
void ssusb_debugfs_create_root(struct ssusb_mtk *ssusb)
{
ssusb->dbgfs_root =
- debugfs_create_dir(dev_name(ssusb->dev), usb_debug_root);
+ usb_debugfs_create_dir(dev_name(ssusb->dev));
}

void ssusb_debugfs_remove_root(struct ssusb_mtk *ssusb)