From patchwork Mon Feb 15 15:42:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loic Poulain X-Patchwork-Id: 382965 Delivered-To: patch@linaro.org Received: by 2002:a02:c80e:0:0:0:0:0 with SMTP id p14csp1175686jao; Mon, 15 Feb 2021 07:44:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJxe7lxYjt+ovJdwVWp7vkgh33Pvd5ursLZGIqRYUppZjRBIoySdzlnBdiQ1AzvTMMGz7+yO X-Received: by 2002:a17:907:2622:: with SMTP id aq2mr9317576ejc.470.1613403859161; Mon, 15 Feb 2021 07:44:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613403859; cv=none; d=google.com; s=arc-20160816; b=mrR8hiObBnUFwst7XOROzioie8jX8tRS6+VsaxMmjLlmq/m4CLlF0iGppZ2jcU/fQQ WzTnmh/JKLpVb8k7LdMnUAfSAHtqI+nL3l2rlpOlrBKyixvzmxrK7+wHPxpgDQ/uo9Dy i7HuyaVGZ9X5vsor7LVEvxI2JcbHqutfOK05jQdQx8I2ZXy1ADGW38fEGV53ZpEyf0tc X/Q3pcPu1+ISSLMftdM/ShRQFLYUOfEa47uxlotFfRzNqa0Gb6NyqnNhSw4t9RoPAu/o s2Ps9Sb90b9wfEaiGzuM1+kcDjGW+SBUHQyK7LeArD+4FZCa/ZXGfa9nb9cPRbYiiK/W BzDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=9nVyI9H0WURRc3cOFpkJMz4mJf9zlKgX5slb7G7vCW8=; b=id8QN+tUv9WVZdKp27hMiB8AkWBBREsQCJX9dqW9SgBU1NfqkjpquRPPmAWk4sCTuy LcUcYzgVGPZ1S0MWeLdZV5HQxZx39uX/PulsbrCJhh9OC3X1kAOApIgHT8SXfjMF9Tp+ d2rJme1pgLVTPQX1ad0Y3VnUamJF/jnLOoziQj1WVuRL9dEnwSgDL9c5OXdwqL/SkL6N yALm82Va0IpUNRmNf6t2pKVUODy/DtbXnvZHLr8WM/sdcjiPdXNwgY4Dn8tlR4stgjt+ CwdpuKFQ2eAQhdUkdTCaLUFCkckE02ZTgqc8ozNEoTtNIFiXFh0kymThnPihsn234RpQ oVBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lv0sxvWt; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b7si12442700ejz.39.2021.02.15.07.44.17; Mon, 15 Feb 2021 07:44:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lv0sxvWt; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230174AbhBOPny (ORCPT + 16 others); Mon, 15 Feb 2021 10:43:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231631AbhBOPnZ (ORCPT ); Mon, 15 Feb 2021 10:43:25 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E0A4C0617AB for ; Mon, 15 Feb 2021 07:42:21 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id x4so9737223wmi.3 for ; Mon, 15 Feb 2021 07:42:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=9nVyI9H0WURRc3cOFpkJMz4mJf9zlKgX5slb7G7vCW8=; b=lv0sxvWtF+I0ypfxsMhc/YAO0QESDJrN98HjQT+fpZu9qIpK4aY1OljSD0h+5yQ5R7 CISVj94tOgVpqL6p/6z3BnM3BOZhjq3A0tuzrKMlA5cojPEQLqjgMeA2P0MiwJGoMC6c aRBEJzHMzdKnSS9IpA0L3Zli4+FFjOg+aQ35uduFnJOjccOSQaAxBeQtI3RA3GAapApK qboVTO6/gpXDPprPGMW/AhIra5hYufO7ES4zTYI5iMRxvjIV9pJAC6BEIR+VzRfMxtXM 5efi12lHwcAYqjg1wKBN06/+GfFaMiYmNFQO6bCJXmeMu5D34rMuHNTObwQTgQkJn07J 1COQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=9nVyI9H0WURRc3cOFpkJMz4mJf9zlKgX5slb7G7vCW8=; b=YxRmmL6xEGNbwZeE0tqAExGBpwucdFuHD0nph9L3fKJn3vcl6XL+4mQ7U+hVTUtdFu FN/XgSbxHqOOQ1U7YXrK4XsFraEOsaIYgdz1VhnVJBiE438DW40mS0+bNR8JzcswcDb7 W288M0By/Ajx6o0n21nai4PqqgbSZX4l64r9nfJyDmQdGv8m36VTPt/ggTPUsg13XF6U LNC1hOoQFNE4zzQU7ODdXK02OhQ3jhaA9Z65Y609wE2UHIqv6QlyHKlDscqUFoQHJ0Hm d6zoXT0ASt0xtTHO/Gsb3Ew7jL8rhw7h8YhMC4MC1/LLOzRVhRQMqip991GYm27zWPq1 +GAA== X-Gm-Message-State: AOAM531/awQloIESwqYz9RGcCwYf6xZ/lLGgZnNIkKy8MG9dVqg+4OOw F7X0sDy+NkYqLNp7yzzPi70uQ9P6zqJYIxKJ X-Received: by 2002:a1c:5a54:: with SMTP id o81mr14948485wmb.50.1613403280470; Mon, 15 Feb 2021 07:34:40 -0800 (PST) Received: from localhost.localdomain ([2a01:e0a:82c:5f0:6a51:c15d:a011:2421]) by smtp.gmail.com with ESMTPSA id b138sm24602146wmb.35.2021.02.15.07.34.21 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Feb 2021 07:34:22 -0800 (PST) From: Loic Poulain To: manivannan.sadhasivam@linaro.org, hemantk@codeaurora.org Cc: linux-arm-msm@vger.kernel.org, jhugo@codeaurora.org, Loic Poulain Subject: [PATCH] mhi: Rename debugfs directory name Date: Mon, 15 Feb 2021 16:42:33 +0100 Message-Id: <1613403753-1457-1-git-send-email-loic.poulain@linaro.org> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Use MHI controller device name instead of the 'bus' device name as debugfs dir name (e.g. /sys/kernel/debug/mhi0). That aligns with sysfs device name. Signed-off-by: Loic Poulain --- drivers/bus/mhi/core/debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 Reviewed-by: Jeffrey Hugo Tested-by: Jeffrey Hugo Reviewed-by: Manivannan Sadhasivam diff --git a/drivers/bus/mhi/core/debugfs.c b/drivers/bus/mhi/core/debugfs.c index 7d43138..858d751 100644 --- a/drivers/bus/mhi/core/debugfs.c +++ b/drivers/bus/mhi/core/debugfs.c @@ -377,7 +377,7 @@ static struct dentry *mhi_debugfs_root; void mhi_create_debugfs(struct mhi_controller *mhi_cntrl) { mhi_cntrl->debugfs_dentry = - debugfs_create_dir(dev_name(mhi_cntrl->cntrl_dev), + debugfs_create_dir(dev_name(&mhi_cntrl->mhi_dev->dev), mhi_debugfs_root); debugfs_create_file("states", 0444, mhi_cntrl->debugfs_dentry,