From patchwork Tue Aug 28 01:52:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 145261 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp609648ljw; Mon, 27 Aug 2018 18:55:03 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbEF6lcQdB4D/5XIAv/HO75a3PqJ7PshSPvYkNb0RCLxFsVErSLXnpsuXCPIHFv9FVo1+E9 X-Received: by 2002:a17:902:7803:: with SMTP id p3-v6mr15326629pll.119.1535421302951; Mon, 27 Aug 2018 18:55:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535421302; cv=none; d=google.com; s=arc-20160816; b=x750tZ5Vb2Kh3CVZo+8Wy6FNZa646M+rRnBPGvojpA0FfRi4A1kCrTfovNtihMjYFV hUICIG8EqC+7suIKgMQt2lWBFPlTLHAl9TOix9/9IX8bfWlxhfyh0YIeMX1JPe556/sI jvzXF/2Fxg2Cr5G44JUs/tenu2LnVYzEdoXu9eu+LTdUanxRXIPTGlrFU+i5VbM0wcyy PUE6qX0D37UgQAZ3ho4ZN8PYYkSH2ChzMhkp31zw5SusPN2rAuRy8aXJkN1s6OPSBF2h Vp4RJwqS9t9ycvt04Ya9Ich5DqK3pMoX4Kzz2w2YZcn/cz1NyEmnwoHyN1CcwxzGe8q7 XDJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=KE8ECiVSMn5GwOzqAhr1hAu+EuoVhYPrDThOPf9QjjU=; b=qY+WNUlShxbO4jELenylOGaBOAPbRIaPxQOF9u9wXunhOv/JA+5xnI9JZo+AIXIc1E clY9+2IvP0+/94nsoqfWRteahCX6JwlocAD/vZY4k8u0iYuCz7gDB1KsYIOEjgYxamNE 0SJbJAXiUaHvFPY3JSK3ZiAjACW3Odi1o860tzf4TPVCPT4WbR3fa4rgqIfDY3mNp+eP lKZUYUn9c4uIjRjEBmgSjMr5hROD438ZTEie8Kd9628y0/Qa/5ZHx5jopisSkWnodKHn kSryv51zgZEiLbDw8ObszyPNA3/uKagpw8LbiolNOlEZa6Vj9EQ5H9NmHHItDsP2ECuC DS7w== 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 z2-v6si923189pfb.365.2018.08.27.18.55.02; Mon, 27 Aug 2018 18:55:02 -0700 (PDT) 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 S1727866AbeH1FoP (ORCPT + 32 others); Tue, 28 Aug 2018 01:44:15 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:37995 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727545AbeH1FoP (ORCPT ); Tue, 28 Aug 2018 01:44:15 -0400 Received: by mail-oi0-f66.google.com with SMTP id x197-v6so21020oix.5; Mon, 27 Aug 2018 18:54:59 -0700 (PDT) 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; bh=KE8ECiVSMn5GwOzqAhr1hAu+EuoVhYPrDThOPf9QjjU=; b=JvN4QBQJObRtQetUaZ6+nVFj945Es1E42M07gVsryvW9RiR+MMn/W2pNGJ/m3QjI1E zcnJ1O2TuUeM7JGQMvDRKIAR8vWgmd9D/4fxNSzJA8+jNicia1eN0ifbI8/q6Zdas4Qp PNSCBlyyQIBwIlEiGMbOf3HVmWFHjQK4IKvBpgiWQwIiwSLvHX5UXCMZvCgilRb5K5Cs 6SupoDe+FMjUo+kD81p9MLMR1xsPPSUu5DXRjpm6q9U22ILzifXT352glN5MJaMmNFxF kJJ7Y30qzavXdTiTKd3go4vORk9AQWk7GyLSXLSER/rhBIiS0H+KWBCeYOjapZ3IFh7S HyPg== X-Gm-Message-State: APzg51AS2uqohWcZIjjy66f8J5TmXGaAVhWotY2FgMWXzre+xdiBMiRG 42WFqRXfuvsPlseFBjBRWxvBjTo= X-Received: by 2002:aca:2111:: with SMTP id 17-v6mr970369oiz.241.1535421298953; Mon, 27 Aug 2018 18:54:58 -0700 (PDT) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id n71-v6sm1652696oig.48.2018.08.27.18.54.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Aug 2018 18:54:58 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org Cc: Adrian Hunter , Hu Ziji , Ulf Hansson , linux-mmc@vger.kernel.org Subject: [PATCH] mmc: Convert to using %pOFn instead of device_node.name Date: Mon, 27 Aug 2018 20:52:33 -0500 Message-Id: <20180828015252.28511-32-robh@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180828015252.28511-1-robh@kernel.org> References: <20180828015252.28511-1-robh@kernel.org> 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: Adrian Hunter Cc: Hu Ziji Cc: Ulf Hansson Cc: linux-mmc@vger.kernel.org Signed-off-by: Rob Herring --- drivers/mmc/host/sdhci-xenon-phy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/drivers/mmc/host/sdhci-xenon-phy.c b/drivers/mmc/host/sdhci-xenon-phy.c index c335052d0c02..5956e90380e8 100644 --- a/drivers/mmc/host/sdhci-xenon-phy.c +++ b/drivers/mmc/host/sdhci-xenon-phy.c @@ -660,8 +660,8 @@ static int get_dt_pad_ctrl_data(struct sdhci_host *host, return 0; if (of_address_to_resource(np, 1, &iomem)) { - dev_err(mmc_dev(host->mmc), "Unable to find SoC PAD ctrl register address for %s\n", - np->name); + dev_err(mmc_dev(host->mmc), "Unable to find SoC PAD ctrl register address for %pOFn\n", + np); return -EINVAL; }