[12/28] usb: host: fotg2: use usb_debugfs_create_dir() to create directory
diff mbox series

Message ID 2d3de163f0b89a59660a7ccb27613f77e217c291.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/fotg210-hcd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/drivers/usb/host/fotg210-hcd.c b/drivers/usb/host/fotg210-hcd.c
index 9e0c98d6bdb0..9c9030044b06 100644
--- a/drivers/usb/host/fotg210-hcd.c
+++ b/drivers/usb/host/fotg210-hcd.c
@@ -5709,7 +5709,7 @@  static int __init fotg210_hcd_init(void)
 			sizeof(struct fotg210_qtd),
 			sizeof(struct fotg210_itd));
 
-	fotg210_debug_root = debugfs_create_dir("fotg210", usb_debug_root);
+	fotg210_debug_root = usb_debugfs_create_dir("fotg210");
 
 	retval = platform_driver_register(&fotg210_hcd_driver);
 	if (retval < 0)