From patchwork Fri Nov 16 22:05:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 151378 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp953403ljp; Fri, 16 Nov 2018 14:06:08 -0800 (PST) X-Google-Smtp-Source: AJdET5cgSumzgZwli2YIsJrVMHodkAmSw2COiX4iKETHCmKEN386EX+8CxP2x62n8K3B5/DC033O X-Received: by 2002:a62:83ce:: with SMTP id h197mr741958pfe.187.1542405968163; Fri, 16 Nov 2018 14:06:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542405968; cv=none; d=google.com; s=arc-20160816; b=FORncWg8A2eWF17uzoURcFwAanlav2HLN1u0Z6PhKItGK7g1OwR9tTxi1SS0X1qPNE fIHxzd9LXFex6Kohlczh+TeBZLukIYkwIfCzXQ2Yau8Ea2YGG+6maz09J7ZaoJRLc5d1 Uz7AFcN+UsAJuspG6CcU5orJqkx720Fa7/MfUojIIGk5gIlimZWSnAfYxLGMo0iVX2q+ LG7VXzhZ/iszj7V0FurvW3BCC4mheQFqeqjphc5jzeQRcMCEq88bsLcbEdgaXshJnJOR 2SQC3E4/Bs0pMkNVCUYuMuuDsRrJMx9hfM5hNB9cnVaWx8ZZ6ieDG5CyK6sgScAXzUxJ dGxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=9NvbhSpo0zQeyuL+LUNt8x1V7zepvjibuZy5WzTCHqQ=; b=zXEPyRgJeQOdd/2bTq2EoqzF+uP1JptOiDgmAFRU+pnef+8ATvFyNM1RW3X61QcUad b4PCbq8kOiZuAZ8NqDE+st7PkLD8Qi6U0gVGT3V0S6NOdHQBZZ0oXzVY7/MBlLdkesuU Wf+j09y3gWxOqPWXY/fFOfPUtcfWF4CBW7cx/CtGhBWdDKSODB6ex0P/AaG7GSrez3Ej w8ojUuv+bbAm9CfZ3GCMhLEsLWrw54iad9lfTpCGSKsj3GJpI4YmRW2H86IqZ1rE4WPS vxkHEptsWA1/agTrex2v4WnDpGMZa6DaYmUgL03q5awA5VIJ2mwSengo/zIdwnAJPhUs Vx0g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y6si14432823pll.384.2018.11.16.14.06.07; Fri, 16 Nov 2018 14:06:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729716AbeKQIUK (ORCPT + 32 others); Sat, 17 Nov 2018 03:20:10 -0500 Received: from mail-oi1-f194.google.com ([209.85.167.194]:40738 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725819AbeKQIUJ (ORCPT ); Sat, 17 Nov 2018 03:20:09 -0500 Received: by mail-oi1-f194.google.com with SMTP id t3-v6so3043126oie.7; Fri, 16 Nov 2018 14:06:00 -0800 (PST) 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=9NvbhSpo0zQeyuL+LUNt8x1V7zepvjibuZy5WzTCHqQ=; b=I3Ps4f8uMYsUkb0zF2ipgdkt3ADE9RQl1J363oMOq8vRyxhIJ9Zex7erCW/e+ZC/43 X/0AMAY5zzqOIQtA2oaD/GVIV5oFnmyggXGix8luh5whrHhs1ox04mlFGVDrzEkCjVol kTJ5L5Iw6fN674Yoj4WoPgwpxMfvHmWPqHsdfVanll7aqQRkl4HOX1BjyrO6XvwV33OG TUko4va4UWZNEv6nEybHhz8vH1YTrEVH9/aVeuqN9V1yO5w6TWDRIePOAdhvxb7+HvcV p60NIYpTO3MWToqqPsfZCRjdwV7ZqLpP7iaYvNwol3gVhjyX07BTAnizEY39Ku0TJM/c 3k3g== X-Gm-Message-State: AGRZ1gJw9D8UQXsckrjQWDKLYdoetTpJvXDpNzCQ4xztAxHFDKRCHrly 5zzRHsKuIP1EEKkj9aCQtQ== X-Received: by 2002:aca:c108:: with SMTP id r8-v6mr2059706oif.258.1542405959485; Fri, 16 Nov 2018 14:05:59 -0800 (PST) Received: from localhost.localdomain (mobile-166-173-57-127.mycingular.net. [166.173.57.127]) by smtp.googlemail.com with ESMTPSA id w5sm2316587oif.48.2018.11.16.14.05.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Nov 2018 14:05:58 -0800 (PST) From: Rob Herring To: Linus Walleij Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sean Wang , Matthias Brugger , linux-mediatek@lists.infradead.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] pinctrl: mediatek: Convert to using %pOFn instead of device_node.name Date: Fri, 16 Nov 2018 16:05:40 -0600 Message-Id: <20181116220540.17222-4-robh@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181116220540.17222-1-robh@kernel.org> References: <20181116220540.17222-1-robh@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In preparation to remove the node name pointer from struct device_node, convert printf users to use the %pOFn format specifier. Cc: Sean Wang Cc: Linus Walleij Cc: Matthias Brugger Cc: linux-mediatek@lists.infradead.org Cc: linux-gpio@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Rob Herring --- drivers/pinctrl/mediatek/pinctrl-paris.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.19.1 diff --git a/drivers/pinctrl/mediatek/pinctrl-paris.c b/drivers/pinctrl/mediatek/pinctrl-paris.c index d2179028f134..7ff5ffa88198 100644 --- a/drivers/pinctrl/mediatek/pinctrl-paris.c +++ b/drivers/pinctrl/mediatek/pinctrl-paris.c @@ -419,8 +419,8 @@ static int mtk_pctrl_dt_subnode_to_map(struct pinctrl_dev *pctldev, pins = of_find_property(node, "pinmux", NULL); if (!pins) { - dev_err(hw->dev, "missing pins property in node %s .\n", - node->name); + dev_err(hw->dev, "missing pins property in node %pOFn .\n", + node); return -EINVAL; }