linux-mediatek.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RESEND PATCH v3 1/3] usb: musb: create debugfs directory under usb root
@ 2019-11-20  6:43 Chunfeng Yun
  2019-11-20  6:43 ` [RESEND PATCH v3 2/3] usb: gadget: atmel: " Chunfeng Yun
  2019-11-20  6:43 ` [RESEND PATCH v3 3/3] usb: gadget: udc: gr_udc: " Chunfeng Yun
  0 siblings, 2 replies; 3+ messages in thread
From: Chunfeng Yun @ 2019-11-20  6:43 UTC (permalink / raw)
  To: Felipe Balbi, Greg Kroah-Hartman
  Cc: Alexandre Belloni, linux-kernel, linux-usb, Nicolas Ferre,
	Stephen Boyd, Chunfeng Yun, Ludovic Desroches, linux-mediatek,
	linux-arm-kernel, Matthias Brugger, Bin Liu, Cristian Birsan

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

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
v3: no changes

v2:
  1. abandon new API usb_debugfs_create_dir(), and use usb_debug_root
---
 drivers/usb/musb/musb_debugfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/musb/musb_debugfs.c b/drivers/usb/musb/musb_debugfs.c
index f42858e2b54c..7b6281ab62ed 100644
--- a/drivers/usb/musb/musb_debugfs.c
+++ b/drivers/usb/musb/musb_debugfs.c
@@ -325,7 +325,7 @@ void musb_init_debugfs(struct musb *musb)
 {
 	struct dentry *root;
 
-	root = debugfs_create_dir(dev_name(musb->controller), NULL);
+	root = debugfs_create_dir(dev_name(musb->controller), usb_debug_root);
 	musb->debugfs_root = root;
 
 	debugfs_create_file("regdump", S_IRUGO, root, musb, &musb_regdump_fops);
-- 
2.23.0
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-11-20  6:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-20  6:43 [RESEND PATCH v3 1/3] usb: musb: create debugfs directory under usb root Chunfeng Yun
2019-11-20  6:43 ` [RESEND PATCH v3 2/3] usb: gadget: atmel: " Chunfeng Yun
2019-11-20  6:43 ` [RESEND PATCH v3 3/3] usb: gadget: udc: gr_udc: " Chunfeng Yun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).