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

Message ID 54205b67872231d9940efd3e15f99a64a9ee00fd.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 "xhci" directory under
usb root

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

Patch
diff mbox series

diff --git a/drivers/usb/host/xhci-debugfs.c b/drivers/usb/host/xhci-debugfs.c
index 7ba6afc7ef23..932fdbd2804f 100644
--- a/drivers/usb/host/xhci-debugfs.c
+++ b/drivers/usb/host/xhci-debugfs.c
@@ -601,7 +601,7 @@  void xhci_debugfs_exit(struct xhci_hcd *xhci)
 
 void __init xhci_debugfs_create_root(void)
 {
-	xhci_debugfs_root = debugfs_create_dir("xhci", usb_debug_root);
+	xhci_debugfs_root = usb_debugfs_create_dir("xhci");
 }
 
 void __exit xhci_debugfs_remove_root(void)