[14/28] usb: mtu3: use usb_debugfs_create_dir() to create directory
diff mbox series

Message ID 27f6c9e4d1ece4996a7555efa0c9b8248f39426c.1573008520.git.chunfeng.yun@mediatek.com
State New
Headers show
Series
  • [01/28] usb: common: change usb_debug_root as static variable
Related show

Commit Message

Chunfeng Yun Nov. 6, 2019, 3:15 a.m. UTC
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(-)

Patch
diff mbox series

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)