It's not needed after [1] is applied, because usb_debug_root is created by usb common core but not usbcore now. [1] 812086d362a1 ("USB: move usb debugfs directory creation to the usb common core")
Unified · Split
| @@ -528,7 +528,8 @@ void ssusb_dr_debugfs_init(struct ssusb_mtk *ssusb) · 527 unmodified lines | |||
| 528 | 528 | ||
| 529 | void ssusb_debugfs_create_root(struct ssusb_mtk *ssusb) | 529 | void ssusb_debugfs_create_root(struct ssusb_mtk *ssusb) |
| 530 | { | 530 | { |
| 531 | ssusb->dbgfs_root = debugfs_create_dir(dev_name(ssusb->dev), NULL); | 531 | ssusb->dbgfs_root = |
| 532 | debugfs_create_dir(dev_name(ssusb->dev), usb_debug_root); | ||
| 532 | } | 533 | } |
| 533 | 534 | ||
| 534 | void ssusb_debugfs_remove_root(struct ssusb_mtk *ssusb) | 535 | void ssusb_debugfs_remove_root(struct ssusb_mtk *ssusb) |