Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp6553820imm; Mon, 27 Aug 2018 18:56:21 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdbj0sHUJMVB/V2spo8FKVM1aA/uNJ0twxAgi63hd5IOBu0wiTykD7iTt8wFFoI7bTbF2IwB X-Received: by 2002:a63:f043:: with SMTP id s3-v6mr14061605pgj.94.1535421381844; Mon, 27 Aug 2018 18:56:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535421381; cv=none; d=google.com; s=arc-20160816; b=cFaWKryRDQP0AkO1WfM+U0YM0DYw96WHsvaqpPxI7K4KuO6YbNlkkinEylcuPda2IQ pWbqFp1lSjP3X3DS6TzWweWgNzC0bejee1HxMwDJ2zjT5JOJlB7pL/NtYqYktI9g5cFo rpn+T501bN3GYGf+WMMfupobn/TbtuWOarmJf214cg6aB0xsVu4C+BAVLeRqZuR7FhVp j9v6QkQErNdPmeUdPWtr2ANp2QEfqyM6km84WYm0RgAh1Eqf93DEJb3bKMOOUikcBu+Y mBxmziMj6wU9NJ4qL0lhZuNAZglwRtD403d5razXXk9zg4Hjj5wVYwZ4h9Dcs0pjWU7X KITA== 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=df4YA1yD0p75EKdgC1piIn4MGTBHn53g/vasp3IjE8c=; b=GS9KNLGls/ictHg2EqeBI2EthkIj6uAX1AD2/Kr74E1zeqGZUth+eD8eylG1he/GY/ WkzftEF37qjPnMmr7oi9xHEBIX6fnvXLlRHJiDURf/DEnm7W6l0bPBSDfgfOgaNRjTZT fbYn3h1aBsYnP3aAeIi9h/XDxcakKonPAlSpb2GiiO1VZ4RMA7NXHhHPLRDPILVwV7Fo LpSoYuOuXWafbGXbU8uHIn40rvsALxdiYRcQx6xU/hOHFunUIxoXAiV2pvkeDk2sHOtL 7hSqw+DtQBSgnal1xLStcFLK0tzxK1p6AjZgv6FoTmzmx9wCnEVuHB8CvVrGNC+XbhhB YLjg== 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 d2-v6si929791pgu.106.2018.08.27.18.56.07; Mon, 27 Aug 2018 18:56:21 -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 S1727245AbeH1FmQ (ORCPT + 99 others); Tue, 28 Aug 2018 01:42:16 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:39520 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727178AbeH1FmN (ORCPT ); Tue, 28 Aug 2018 01:42:13 -0400 Received: by mail-oi0-f68.google.com with SMTP id c190-v6so8248oig.6 for ; Mon, 27 Aug 2018 18:52:58 -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=df4YA1yD0p75EKdgC1piIn4MGTBHn53g/vasp3IjE8c=; b=WwjnoKQzKoijocrkcbB6PUk95b539yNSGaQ9gGeZXGg4cPlXpA/2iTpXaiX3cJXvRd +7G3CWbOgc2RIiwEOIjxysOqbk664rXp1yQr3ILITxWuvJcAydUhBXCOc7evrVQq/zGO QHWti6eeQ8EvyYkTV9WAZ1VHHRs8f/RQ0V6kjVGnCeywtHCSMh6/j1d/03Eb9RENYXAW L9F8DmsZyuPacFhXGcyURz8cs37kJTbmxMTlo4mIZM5pOx+jQ3dNGf0SCd3PH11rLZQH lIJQkiOXdmoNM3ky5HdoNdwdxNnIDwg/9PIrb6jDkSNqvFlX82EEcjs5LvzkpQpN+c3R QU3w== X-Gm-Message-State: APzg51CHJqc6oPPlGIoiI6aPItMp/PtWlLyJ2OobeDppuYwp/9NRLkEL l934MXyAkXgjLDoi7L+642hqkqo= X-Received: by 2002:aca:2c02:: with SMTP id s2-v6mr1019509ois.305.1535421178334; Mon, 27 Aug 2018 18:52: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.52.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Aug 2018 18:52:57 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org Cc: Ley Foon Tan , nios2-dev@lists.rocketboards.org Subject: [PATCH] nios2: Convert to using %pOFn instead of device_node.name Date: Mon, 27 Aug 2018 20:52:06 -0500 Message-Id: <20180828015252.28511-5-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: Ley Foon Tan Cc: nios2-dev@lists.rocketboards.org Signed-off-by: Rob Herring --- arch/nios2/kernel/time.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/nios2/kernel/time.c b/arch/nios2/kernel/time.c index ab88b6dd4679..54467d0085a1 100644 --- a/arch/nios2/kernel/time.c +++ b/arch/nios2/kernel/time.c @@ -214,12 +214,12 @@ static int __init nios2_timer_get_base_and_freq(struct device_node *np, { *base = of_iomap(np, 0); if (!*base) { - pr_crit("Unable to map reg for %s\n", np->name); + pr_crit("Unable to map reg for %pOFn\n", np); return -ENXIO; } if (of_property_read_u32(np, "clock-frequency", freq)) { - pr_crit("Unable to get %s clock frequency\n", np->name); + pr_crit("Unable to get %pOFn clock frequency\n", np); return -EINVAL; } -- 2.17.1