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 (Arm)" X-Patchwork-Id: 10687061 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4F55514DB for ; Fri, 16 Nov 2018 22:06:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3FF192CD56 for ; Fri, 16 Nov 2018 22:06:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3468D2CC4F; Fri, 16 Nov 2018 22:06:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C9E692CD3A for ; Fri, 16 Nov 2018 22:06:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5j+oKZhakVAcroC3V3nst0QCQn+fxJ1tWe/o6BRLxBU=; b=orqCZkLihJ72jL RyE5K5572yFkapVFak12YXyf4Z1xBgDQn4HX04TzqFYg9kNSmOqo6ZPHLGHSBP/HvqolxMLBOXAhS Jv4OGuP348gqS7/1DXlG7JzBIvZnKy0dE+IR48On7j5uNah0ivu7z4GzwuvMw37tstaP+b6oRDaZQ ERiwGmnzrSbTwuzkPNTKrSMnYRRQyz0XF8277R2KnMa7VUrKtolgAdS+6hAqhmXC0vPyVmWJJX4av TxjdAzuO+LrVKhgYa49af6ljo+UJfNsFcjAXZ8w2XRVvDbcZLSlBKL14V+AuKMW7jvuDMQfhbOj7S x/Ag8j9T2i+iKJQXjx6A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNmFk-0008Cv-73; Fri, 16 Nov 2018 22:06:16 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNmFi-0008Cj-HQ; Fri, 16 Nov 2018 22:06:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=9NvbhSpo0zQeyuL+LUNt8x1V7zepvjibuZy5WzTCHqQ=; b=L3mVLBuTzJn/xcXhu2/lfAADk2 VDQtkIB1gjFdIgXqSiHiYno5r9cvqUmn1gc/XaheMmfbXdvjdGNrdBHsC8c/ak6WDc3t/Dnx0i550 vwBDambiK6+F/hXRPq+Lu9mow6/fqnYuQG7yEThywBux3cAsi6wOrZJI216MeQd9LxHmj017Xak1d d1JPAFaeaSn4DupsilcvukptHRjH3wcK7MSlclg7aWD+8NhsDjlM3MKEK5HYLM1w6r1Y17HVZlueI gFfxp3CJYKWRnAmCE29Np+OzaF65V6nsUN95Vi/OiyFyHifLmF/Lq+PbDP8+n/uV+2HntBvnP6dBR 5uTf/JzQ==; Received: from mail-oi1-f195.google.com ([209.85.167.195]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNmFf-0005Pu-A3; Fri, 16 Nov 2018 22:06:12 +0000 Received: by mail-oi1-f195.google.com with SMTP id y23so11771590oia.4; 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=lQg+vGkc5tdo2S4fYqHbxmQyr5VZQw1ii+gOMdh9Yl7nn0fhDD8WrlY/XGQdvGfD23 blUG4TuG9vl2CaPt6CHdvl50nE1vEcddSz4eMh/LnjPs+rm2zbnipYSQkUYlVOjrz+5S O+kuXXZlNJVFHgD8zg68wKOpesjdFzD6LAaFg3HRbFCjJqBRIMD5xJJt3iykqMNX9uhK V5ntw27LQ8YV3c2VlaL6ophRJ4Z929LOTWgMR+iHE+uIHJ+H5WADfoAPKNLTS0gwU7cN AVm1pwlyNnQaCr/iVgZkFZfbwVL+Z2lMXpW/0bhqA9MObggAdy3I4JyYvBuwxvpi/VS5 Kp3A== X-Gm-Message-State: AGRZ1gJsZSump/p/mi48xc/fXBo97M7AMz/PIfPvKqewwiK6Lb0wCToY 3Wrlq3uxKmwD/zLN6pufXQ== X-Google-Smtp-Source: AJdET5e5DOQMKdTTe1/yMJfAdHb5U2JfXm/uQdrWavCfxSRwskq2cLvBhhtcYmKSBS8mLQgPdB7VfA== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181116_220611_354491_19DD9F0D X-CRM114-Status: GOOD ( 14.12 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Sean Wang , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-mediatek@lists.infradead.org, Matthias Brugger , linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Acked-by: Sean Wang --- drivers/pinctrl/mediatek/pinctrl-paris.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }