[10/28] usb: uhci-hcd: use usb_debugfs_create_dir() to create directory
diff mbox series

Message ID 192bd44f5a2f9120a812825f5f013dc3c1b5cf2f.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 "uhci" directory under
usb root

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

Patch
diff mbox series

diff --git a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c
index 03bc59755123..a9707f981072 100644
--- a/drivers/usb/host/uhci-hcd.c
+++ b/drivers/usb/host/uhci-hcd.c
@@ -877,7 +877,7 @@  static int __init uhci_hcd_init(void)
 	errbuf = kmalloc(ERRBUF_LEN, GFP_KERNEL);
 	if (!errbuf)
 		goto errbuf_failed;
-	uhci_debugfs_root = debugfs_create_dir("uhci", usb_debug_root);
+	uhci_debugfs_root = usb_debugfs_create_dir("uhci");
 #endif
 
 	uhci_up_cachep = kmem_cache_create("uhci_urb_priv",