Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp6555337imm; Mon, 27 Aug 2018 18:58:50 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaV3jzeETu+YLvtew2xFTqI2n8NUf+SHEXxbh4eEKToLEeoWqO1xEIbVSmHkuDynPIdW7xA X-Received: by 2002:a62:8208:: with SMTP id w8-v6mr4811822pfd.215.1535421530785; Mon, 27 Aug 2018 18:58:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535421530; cv=none; d=google.com; s=arc-20160816; b=XDpHBFHAsfQ1Tz4jN3nXxIdrZCwidiJ+XLIIkWwJcafW4G2hf5t0bwSPDzSh8v2CJc +WieW8LrpZFcSpzcQGS8hftHRASvbtRDY059wc4TR+CxrRWhbsL5hCvt3L4jFSV6KQbC wFXE3zQ0rM5vFhhG4GqhDC3UimCJq5HUDfVF4V0SRMtC9DCiHuhO+I4EmCRy5crB/3wb fVK4WUyFUvEjOV4a1t/YODIlB0qvmNlmUUU4wZjrj1zkpMVKhdtUY6GuLk8cCV3Qmjig X6uS925YTdXtWtZkblFVZtRts3qe7KkscOfF1o7N2GIaN45tv8mCiyqkobmVEHkAnm73 U7qA== 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 m28-v6si775963pgd.358.2018.08.27.18.58.35; Mon, 27 Aug 2018 18:58:50 -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 S1727863AbeH1FoP (ORCPT + 99 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(-) 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; } -- 2.17.1