Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: gadget: pxa27x: create debugfs directory under usb root

Now the USB gadget subsystem can use the USB debugfs root directory,
so move it's directory from the root of the debugfs filesystem into
the root of usb

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/1573541519-28488-11-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Chunfeng Yun and committed by
Greg Kroah-Hartman
3a35bc8d 626557a3

+1 -1
+1 -1
drivers/usb/gadget/udc/pxa27x_udc.c
··· 207 207 { 208 208 struct dentry *root; 209 209 210 - root = debugfs_create_dir(udc->gadget.name, NULL); 210 + root = debugfs_create_dir(udc->gadget.name, usb_debug_root); 211 211 udc->debugfs_root = root; 212 212 213 213 debugfs_create_file("udcstate", 0400, root, udc, &state_dbg_fops);