From patchwork Tue Jul 18 21:43:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 108214 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp6483090qge; Tue, 18 Jul 2017 14:48:26 -0700 (PDT) X-Received: by 10.99.55.79 with SMTP id g15mr3985703pgn.28.1500414506461; Tue, 18 Jul 2017 14:48:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500414506; cv=none; d=google.com; s=arc-20160816; b=NguDH4AoeCIYIBjwpynpwT7MzcChYDnhPKowKpETbZBuvEim1S9WuCXuAc29jnXOES WZnTuYp1tq9UYJ42Pqa9QQXPidA4c+kPVPQL5TF3P7iK3opdP7zgOaitlyA8dXxgfv0G 9Cx/I29pIkzq2o5V1xNNKXlRbXu08JXqt9gM1DXhfSKgVnI8R47w+QqWtamYayZtDkan lNx7SBkFsqy3z4YoKIaQo1wuxNuSr62sc/jlT08tqkC3DA9ypVKJmZg7fiqcviW0OAeS BuUygKzCQLfHHhU3VTszctVG+AiJKhSdL6fChhXZvKgfCF4HBgiBoXR+0TlMWzSpQzjd /Sdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=mNFq5dFkt/7B0l4B2P4W1nnMCRhszpGTjjNNoLxMy+w=; b=vWr3iV6H8tx+nPRbjU0yc8OLox7OVjovuhbvq39ZuSybiUdEvMeOyqnPxBzg2DrYii r1/i9SLz0puYx6s+Ah37SlVCwmm+6+FadsgM+9+yXXIO0ZgXBHcub0Jl9efmfwgu6yVL Y1ceJ6CEfbveyhcPCPjMPptPmE1BL3i1G7MxLpX5lmdurqK9ItaHzsYMm2qzVTHLS0W8 sIdIZKus1JhxXPeCnltej5VP5f0h/D+y+oS1ZvOEUGIXII5cYkgZSq1AnNsh87ombwUo SiJn5OsLwrjk3BFfT1ejJTqMk+WnBO/EsAApest2UTlMDulHEnia9/Sg3drs2jNKC5pG 6EdA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e144si2557013pfh.275.2017.07.18.14.48.26; Tue, 18 Jul 2017 14:48:26 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753258AbdGRVsX (ORCPT + 25 others); Tue, 18 Jul 2017 17:48:23 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:36253 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752925AbdGRVpB (ORCPT ); Tue, 18 Jul 2017 17:45:01 -0400 Received: by mail-pf0-f193.google.com with SMTP id a11so4068880pfj.3; Tue, 18 Jul 2017 14:45:00 -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; bh=mNFq5dFkt/7B0l4B2P4W1nnMCRhszpGTjjNNoLxMy+w=; b=cJ/Q6iF+jBA/Fg2Y2ytZoHX9trRo/VJTpOjMuBMYhRRyEX7swtacDfJVUUtJp90yu7 kRWGaVm73XIUYM7bK7onx6anHQoh8lfgmxpYcEp7Jq2U9N2vjBKdayxWifIrbFCyb8Yf 3KDpzR6D8CM7R0V3RMjIJ7q0QKfUd+KjaxGcUVJ+HHDbocMVv3/xsJr2SCpnK4uljt/f TV1BXDAv3CkQEAnJiLfqHXfkLneObpz2mOMhfYnyiffcQs20qwumUJVdjjOfdVL+320K CP1cu+Zvt19d723gXpWFZIW6gWbwTtwffIFvwnTOU3c1q/C+CtpgCltCIYEm7S+vSl4I beDA== X-Gm-Message-State: AIVw110a6osyj72lgab2BwqijS3cEymAcDBtRuK9QcAs+Ut/BI2DsZFg oqOMAPMkk7b72F/NVxFAvA== X-Received: by 10.84.217.211 with SMTP id d19mr3848220plj.121.1500414300191; Tue, 18 Jul 2017 14:45:00 -0700 (PDT) Received: from localhost.localdomain (24-223-123-72.static.usa-companies.net. [24.223.123.72]) by smtp.googlemail.com with ESMTPSA id r207sm7186560pfr.106.2017.07.18.14.44.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jul 2017 14:44:59 -0700 (PDT) From: Rob Herring To: "David S. Miller" Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, sparclinux@vger.kernel.org Subject: [PATCH] sbus: Convert to using %pOF instead of full_name Date: Tue, 18 Jul 2017 16:43:27 -0500 Message-Id: <20170718214339.7774-47-robh@kernel.org> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: "David S. Miller" Cc: sparclinux@vger.kernel.org --- drivers/sbus/char/display7seg.c | 4 ++-- drivers/sbus/char/flash.c | 4 ++-- drivers/sbus/char/uctrl.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) -- 2.11.0 Acked-by: David S. Miller diff --git a/drivers/sbus/char/display7seg.c b/drivers/sbus/char/display7seg.c index 04efed171c88..f32765d3cbd8 100644 --- a/drivers/sbus/char/display7seg.c +++ b/drivers/sbus/char/display7seg.c @@ -212,8 +212,8 @@ static int d7s_probe(struct platform_device *op) writeb(regs, p->regs); - printk(KERN_INFO PFX "7-Segment Display%s at [%s:0x%llx] %s\n", - op->dev.of_node->full_name, + printk(KERN_INFO PFX "7-Segment Display%pOF at [%s:0x%llx] %s\n", + op->dev.of_node, (regs & D7S_FLIP) ? " (FLIPPED)" : "", op->resource[0].start, sol_compat ? "in sol_compat mode" : ""); diff --git a/drivers/sbus/char/flash.c b/drivers/sbus/char/flash.c index 216f923161d1..a610b8d3d11f 100644 --- a/drivers/sbus/char/flash.c +++ b/drivers/sbus/char/flash.c @@ -181,8 +181,8 @@ static int flash_probe(struct platform_device *op) } flash.busy = 0; - printk(KERN_INFO "%s: OBP Flash, RD %lx[%lx] WR %lx[%lx]\n", - op->dev.of_node->full_name, + printk(KERN_INFO "%pOF: OBP Flash, RD %lx[%lx] WR %lx[%lx]\n", + op->dev.of_node, flash.read_base, flash.read_size, flash.write_base, flash.write_size); diff --git a/drivers/sbus/char/uctrl.c b/drivers/sbus/char/uctrl.c index 57696fc0b482..0a5013350acd 100644 --- a/drivers/sbus/char/uctrl.c +++ b/drivers/sbus/char/uctrl.c @@ -379,8 +379,8 @@ static int uctrl_probe(struct platform_device *op) } sbus_writel(UCTRL_INTR_RXNE_REQ|UCTRL_INTR_RXNE_MSK, &p->regs->uctrl_intr); - printk(KERN_INFO "%s: uctrl regs[0x%p] (irq %d)\n", - op->dev.of_node->full_name, p->regs, p->irq); + printk(KERN_INFO "%pOF: uctrl regs[0x%p] (irq %d)\n", + op->dev.of_node, p->regs, p->irq); uctrl_get_event_status(p); uctrl_get_external_status(p);