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

Message ID 7a8a17b4cfb395cbf25cacc9fe9796b04c4cfd49.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/mon/mon_text.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/drivers/usb/mon/mon_text.c b/drivers/usb/mon/mon_text.c
index bc5ecd5ff565..c34f952b70dc 100644
--- a/drivers/usb/mon/mon_text.c
+++ b/drivers/usb/mon/mon_text.c
@@ -763,7 +763,7 @@  static void mon_text_ctor(void *mem)
 
 int __init mon_text_init(void)
 {
-	mon_dir = debugfs_create_dir("usbmon", usb_debug_root);
+	mon_dir = usb_debugfs_create_dir("usbmon");
 	return 0;
 }