From patchwork Tue Aug 28 01:52:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 145280 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp610807ljw; Mon, 27 Aug 2018 18:56:45 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb4d5f28dSvaUZgCfgIyN5WD+8Rx6Ifpw7gRu5rH6tjFM1ZIXrJFIvBBnmA9fAGbUqNv09h X-Received: by 2002:a63:9809:: with SMTP id q9-v6mr8000927pgd.58.1535421405139; Mon, 27 Aug 2018 18:56:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535421405; cv=none; d=google.com; s=arc-20160816; b=w3r2BHQXRaYZUmmB/GSvJwcq3JWjCC4ykSylwJoJS+ANG5LdVMAIhFspYzirYCPEB3 Cf66JNGJOaGJIigXDSJ+yhk1lIKxQTzHeXH1McOlgadyZbioPALAIhxe7jiF0O18PqGm gk2giehA0B9joEyVE2fSoVYVoXa2ykzr57oKff6ezD4kpk0CG3+Tx0kog9T4KyA+Swpf oawS7SgkVJmNNnxF/vxnJqMlcIWzj3B9WNyI9nvHFxzqJZsNj7BmcC4JFy1dG71ScK99 6Kcv5kmJ+ZvC+4YdCprPU9/jFM2MQ2TCyVDQJTPUIZR6RItzQD3oPtzBks0gAGlI8C5M Q9Ew== 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=2ssVMKn9XbmAgrX5MzFOLI7YD7OCtO06/Qj2Ucr7S/Q=; b=xeEaqE7izac1cRGzZzIrMi6k5G3GROQRniOoaipGm2g25bBeD/oebZmXtr0KyFFJim gYLXl+BbFxpgYM5D91cuX4VpfQSrG7li2dqokJt9QsOwySfib8cJ0bk3IE3JEM4yR/kv yxiNCziyBUyQH5JHqNdNViZEoumZHTRsrYSBbhTIHLZEzmtSBTpKNl+AJIgC7kZTCgba dtPlf4R23i98FBQQT8IfzXHLj0YvEjqX4HlsIYNIK9YBBzjTcf/PathAWfqSMcMNc4RH hp/3tt7AS5zcEF7j1r8/eCjrnc6jgDWbqtLCAN+j/RrpEZ/WmG4JE/JxQAOxINS4fnbi 5Mnw== 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 b5-v6si880141plr.101.2018.08.27.18.56.44; Mon, 27 Aug 2018 18:56:45 -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 S1727230AbeH1Fp5 (ORCPT + 32 others); Tue, 28 Aug 2018 01:45:57 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:38010 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727939AbeH1FoT (ORCPT ); Tue, 28 Aug 2018 01:44:19 -0400 Received: by mail-oi0-f67.google.com with SMTP id x197-v6so21258oix.5; Mon, 27 Aug 2018 18:55:03 -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=2ssVMKn9XbmAgrX5MzFOLI7YD7OCtO06/Qj2Ucr7S/Q=; b=a6iuJ476o5wT1VQeXXybek3GOzOI5JOUHT3NmXfVHvNVtQ1tMCwCNPnfDdMUjgiH5l g3jnxNOnsKIP5txU4RRmxS+/Cd5Bg1SgtI3msBGz1XEP9gGDklCR7Yzs247j/jSpIBDa UqI4K7sVI4B8yeGmOR8AG4Oex2wlTdQ+n860cSMAxN003Qs+2xsHek/Fa2aQE9kuI9s3 /NCo+xWxqBF++hWgmDQIntVIUuAddzOjMWAiRNnKAwzJ4az8GyTqufp/zJCMa0pTdQte n+ZLMENgnA4o9CL3nF/DBwfxfl+hJxLfNScVK+6JhR1xdIh+JS7dTrgfByy5PLwzwkmm bf0Q== X-Gm-Message-State: APzg51Dsk0G0OgbLpMYFAIj988MWYSmEW1oaY/c8xvT6r71ovI1HMPNn QFx1SmiO+rwIeKqjUnK2yxOUWIA= X-Received: by 2002:aca:5dc5:: with SMTP id r188-v6mr1143761oib.320.1535421303064; Mon, 27 Aug 2018 18:55:03 -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.55.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Aug 2018 18:55:02 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org Cc: Kalle Valo , "David S. Miller" , linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH] net: wireless: ath: Convert to using %pOFn instead of device_node.name Date: Mon, 27 Aug 2018 20:52:37 -0500 Message-Id: <20180828015252.28511-36-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: Kalle Valo Cc: "David S. Miller" Cc: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org Signed-off-by: Rob Herring --- drivers/net/wireless/ath/ath6kl/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/drivers/net/wireless/ath/ath6kl/init.c b/drivers/net/wireless/ath/ath6kl/init.c index 58fb227a849f..54132af70094 100644 --- a/drivers/net/wireless/ath/ath6kl/init.c +++ b/drivers/net/wireless/ath/ath6kl/init.c @@ -710,8 +710,8 @@ static bool check_device_tree(struct ath6kl *ar) for_each_compatible_node(node, NULL, "atheros,ath6kl") { board_id = of_get_property(node, board_id_prop, NULL); if (board_id == NULL) { - ath6kl_warn("No \"%s\" property on %s node.\n", - board_id_prop, node->name); + ath6kl_warn("No \"%s\" property on %pOFn node.\n", + board_id_prop, node); continue; } snprintf(board_filename, sizeof(board_filename),