Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp6553585imm; Mon, 27 Aug 2018 18:56:00 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbR4LHRKLorELYdKEpZzQBsix6qJXDHamTiIPNzlp1hnOp9QD0xcyVs8O0uvgJWTqsalxbE X-Received: by 2002:a17:902:4081:: with SMTP id c1-v6mr15400907pld.169.1535421360883; Mon, 27 Aug 2018 18:56:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535421360; cv=none; d=google.com; s=arc-20160816; b=C2GdNxf7vVxUUlANagKGNCVfD7462a1DNacizEtK9dKsANIITtOgNuHkB5tVswI1rW feHVBXTmqcnXIrO63YtQF33NU27mZs7/h2tTXDI52Qe4SZTS9IzI3F6/7e1La1X4vAMl a7PIQeEHn6L5K4ukQSEhV+yeHfSMbpFW1BhSVoNRvHXX+XIFePvlm38uz/7YXlYxByK/ cHg5igi5bGJ6EWE0ptk/gDZwf9/Ce1FIVxLsE54idu6w1SYnbc1V76t5hEMCM9sR9+s3 WJAbEje6BYfOG5UO06pRIkAPtS4t7petgy66tdVVp9BY81UeuXtwF9lCYfMFtW4XyEXa JM5g== 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=qfbYECRu9Qxjs00hQEfRFiuswssUglS2zH0M15sSFZs=; b=CdXeGuhkv2JpvT1eHvFwUpqk9zC6OPsi6ANBm4fg4hN0DStxnv/9Tvo0AFbz2k8Lyb Lq0bG3pIZKdJj1JHvIwimLywIV65j6siYpfEk0twIik3mnEoerdKSVnElH3rb5WFHcIP KlwcRJMeiHa5F25ZYdNmTFSSKxWJWq6y3WnNecFLeOTZzuvCt0H4Lh5tBe78D5cClqQ1 wl+87WauRZdy5OWE1FsSr7gnRc/azQ70dsaLpwIQ84JC6ni/iVCoMUJIkBvEQu91PGcu HYVUUtEHpe1FAd3tx9X8ehy8Ftw7w5QiKastMi6OA2nXskkWp5h4BYiM27CbrGjISBnl NTrA== 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 m8-v6si853665pls.185.2018.08.27.18.55.45; Mon, 27 Aug 2018 18:56:00 -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 S1727355AbeH1FmT (ORCPT + 99 others); Tue, 28 Aug 2018 01:42:19 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:34206 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727178AbeH1FmR (ORCPT ); Tue, 28 Aug 2018 01:42:17 -0400 Received: by mail-oi0-f65.google.com with SMTP id 13-v6so40186ois.1 for ; Mon, 27 Aug 2018 18:53:02 -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=qfbYECRu9Qxjs00hQEfRFiuswssUglS2zH0M15sSFZs=; b=nQQQqZ1av0kQhvT8WJbSf4+2y0YjJaJPVtY6gMZnkrYW1OmeCdhAAoDmssiFV8xRku mAtt5HRnQmFJ+Ftlh6ndzFk78zjCX6/lvKPTVsxhEPRSkDJLb8ItlwlBWXITRzzfoNID 0nrYoc40vhAi3m0EIzDZnEt+YnpMLzYGZUH0e3hqn2JYJBgqHHE76RYdIXkWvWZwQXfp iniXv2n4eTtVb0iBDnuzyaGufIdLGe+baFV4owbmww6XRAOb07++sPkbBsGq2JTKqB0N RecNZAawTNYEc53uvHm1VGg5vsJHIC73+jn3MT1wGJC17QEEYP21/undapAV2Xf6ExXk +IzA== X-Gm-Message-State: APzg51AK1Xji38FTAfsLvcz3z/h2UCDb0UY/dcrjdKYVi9nHg/eKiu6T KVWiQwxZI3LvUrU8CTZwRP/d4AY= X-Received: by 2002:aca:3882:: with SMTP id f124-v6mr1126067oia.195.1535421181386; Mon, 27 Aug 2018 18:53:01 -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.53.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Aug 2018 18:53:00 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org Cc: Chris Zankel , Max Filippov , linux-xtensa@linux-xtensa.org Subject: [PATCH] xtensa: Convert to using %pOFn instead of device_node.name Date: Mon, 27 Aug 2018 20:52:09 -0500 Message-Id: <20180828015252.28511-8-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: Chris Zankel Cc: Max Filippov Cc: linux-xtensa@linux-xtensa.org Signed-off-by: Rob Herring --- arch/xtensa/platforms/xtfpga/setup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/xtensa/platforms/xtfpga/setup.c b/arch/xtensa/platforms/xtfpga/setup.c index 42285f35d313..820e8738af11 100644 --- a/arch/xtensa/platforms/xtfpga/setup.c +++ b/arch/xtensa/platforms/xtfpga/setup.c @@ -94,7 +94,7 @@ static void __init xtfpga_clk_setup(struct device_node *np) u32 freq; if (!base) { - pr_err("%s: invalid address\n", np->name); + pr_err("%pOFn: invalid address\n", np); return; } @@ -103,12 +103,12 @@ static void __init xtfpga_clk_setup(struct device_node *np) clk = clk_register_fixed_rate(NULL, np->name, NULL, 0, freq); if (IS_ERR(clk)) { - pr_err("%s: clk registration failed\n", np->name); + pr_err("%pOFn: clk registration failed\n", np); return; } if (of_clk_add_provider(np, of_clk_src_simple_get, clk)) { - pr_err("%s: clk provider registration failed\n", np->name); + pr_err("%pOFn: clk provider registration failed\n", np); return; } } -- 2.17.1