From patchwork Thu Nov 14 10:41:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chunfeng Yun X-Patchwork-Id: 60132 Received: from vger.kernel.org ([209.132.180.67]) by www.linuxtv.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVCZf-00011a-1b; Thu, 14 Nov 2019 10:42:03 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726674AbfKNKlr (ORCPT + 1 other); Thu, 14 Nov 2019 05:41:47 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:46129 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726106AbfKNKlq (ORCPT ); Thu, 14 Nov 2019 05:41:46 -0500 X-UUID: fb360836f2f24eb6943881172cb20643-20191114 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=F7VjSkVwVBDd5QPQZ1iT7NqzfxFAJJ9eh+ZGLLGNh94=; b=MO9ATtwuUtq9kgNWwAWG/52qU1GcV7u2jHSbfvPIj6ZgERPc1rSd4yW5id6Uqquv5ljccqlxEjdiuynLi9qZAOiHb76Isx1Xd3FPY98R8x85hRG0gE7CiaxiLS854eahRjwsrqkWdiPttWH25agYrkq03ix1PShYOt591vi6Ers=; X-UUID: fb360836f2f24eb6943881172cb20643-20191114 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1380385667; Thu, 14 Nov 2019 18:41:39 +0800 Received: from mtkmbs05dr.mediatek.inc (172.21.101.97) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 14 Nov 2019 18:41:37 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs05dr.mediatek.inc (172.21.101.97) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 14 Nov 2019 18:41:35 +0800 Received: from localhost.localdomain (10.17.3.153) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 14 Nov 2019 18:41:33 +0800 From: Chunfeng Yun To: Greg Kroah-Hartman , Felipe Balbi CC: Laurent Pinchart , "Mauro Carvalho Chehab" , Peter Chen , "Minas Harutyunyan" , Cristian Birsan , Nicolas Ferre , Alexandre Belloni , Ludovic Desroches , Kevin Cernekee , Florian Fainelli , , Daniel Mack , Haojian Zhuang , Robert Jarzmik , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , "Bin Liu" , Matthias Brugger , Stephen Boyd , Chunfeng Yun , "Yoshihiro Shimoda" , Colin Ian King , Biju Das , "Fabrizio Castro" , "Gustavo A. R. Silva" , Yangtao Li , , , , , Subject: [PATCH v3 03/13] usb: host: imx21: create debugfs directory under usb root Date: Thu, 14 Nov 2019 18:41:15 +0800 Message-ID: <1573728085-29016-3-git-send-email-chunfeng.yun@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1573728085-29016-1-git-send-email-chunfeng.yun@mediatek.com> References: <1573728085-29016-1-git-send-email-chunfeng.yun@mediatek.com> MIME-Version: 1.0 X-MTK: N Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Move it's directory from the root of the debugfs filesystem into the root of usb Signed-off-by: Chunfeng Yun --- v3: no changes v2: 1. abandon new API usb_debugfs_create_dir(), and use usb_debug_root --- drivers/usb/host/imx21-dbg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/imx21-dbg.c b/drivers/usb/host/imx21-dbg.c index 7fcf1d9dd7f3..02a1344fbd6a 100644 --- a/drivers/usb/host/imx21-dbg.c +++ b/drivers/usb/host/imx21-dbg.c @@ -419,7 +419,7 @@ static void create_debug_files(struct imx21 *imx21) { struct dentry *root; - root = debugfs_create_dir(dev_name(imx21->dev), NULL); + root = debugfs_create_dir(dev_name(imx21->dev), usb_debug_root); imx21->debug_root = root; debugfs_create_file("status", S_IRUGO, root, imx21, &debug_status_fops);