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: 999167 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42xXPD17Zmz9sBQ for ; Sat, 17 Nov 2018 09:06:08 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729660AbeKQIUJ (ORCPT ); Sat, 17 Nov 2018 03:20:09 -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-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 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-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@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 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; }