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

Message ID 95b4bcff86efa07bc91b518f3dd6ee63185b3e42.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/host/fhci-dbg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/drivers/usb/host/fhci-dbg.c b/drivers/usb/host/fhci-dbg.c
index 100048b3bd17..0baa495c7da9 100644
--- a/drivers/usb/host/fhci-dbg.c
+++ b/drivers/usb/host/fhci-dbg.c
@@ -82,7 +82,7 @@  void fhci_dfs_create(struct fhci_hcd *fhci)
 {
 	struct device *dev = fhci_to_hcd(fhci)->self.controller;
 
-	fhci->dfs_root = debugfs_create_dir(dev_name(dev), usb_debug_root);
+	fhci->dfs_root = usb_debugfs_create_dir(dev_name(dev));
 
 	debugfs_create_file("regs", S_IFREG | S_IRUGO, fhci->dfs_root, fhci,
 			    &fhci_dfs_regs_fops);