Revert "usb: mtu3: fix up undefined reference to usb_debug_root"

It's not needed after [1] is applied, because usb_debug_root is created
by usb common core but not usbcore now.

[1] 812086d362 ("USB: move usb debugfs directory creation to the usb common core")

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Chunfeng Yun 2019-06-10 10:52:29 +08:00 committed by Greg Kroah-Hartman
parent a3fe2605a6
commit e137d34f94
1 changed files with 2 additions and 1 deletions

View File

@ -528,7 +528,8 @@ void ssusb_dr_debugfs_init(struct ssusb_mtk *ssusb)
void ssusb_debugfs_create_root(struct ssusb_mtk *ssusb) void ssusb_debugfs_create_root(struct ssusb_mtk *ssusb)
{ {
ssusb->dbgfs_root = debugfs_create_dir(dev_name(ssusb->dev), NULL); ssusb->dbgfs_root =
debugfs_create_dir(dev_name(ssusb->dev), usb_debug_root);
} }
void ssusb_debugfs_remove_root(struct ssusb_mtk *ssusb) void ssusb_debugfs_remove_root(struct ssusb_mtk *ssusb)