mirror of https://lore.kernel.org/lkml/
 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: Cristian Birsan, Nicolas Ferre, Alexandre Belloni,
	Ludovic Desroches, Bin Liu, Matthias Brugger, Stephen Boyd,
	Chunfeng Yun, linux-arm-kernel, linux-usb, linux-kernel,
	linux-mediatek

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

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

end of thread, other threads:[~2019-11-20  6:44 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

all inboxes | Powered by JetHome®