Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp6555413imm; Mon, 27 Aug 2018 18:59:00 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaOhmLr5Mvpuyg0tpxGcjWBt42gxDmEtLV79zap9vp0ZX2X4aT2kGzAGuvOeWEwcnRn59FZ X-Received: by 2002:a17:902:346:: with SMTP id 64-v6mr15454700pld.164.1535421540351; Mon, 27 Aug 2018 18:59:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535421540; cv=none; d=google.com; s=arc-20160816; b=X1WxETCieIeSsva/q1fEUgBfw9XkVwCwBD4HBqNobLlXYDXWDT3yXLc3rvNCyCpGZS ry/PnGpair86wHSpX4Ybm1zz0huY1VNG0v441bQ57jcbUJUJmQmnUtus9BZc8Cufsg5B gQUb/xOrTZ3DxcfWYCsIoa5LbBi6HFM8hd6DAYvtv/GzeRr41wt+UGekH9QsKYjW0Dgc WYB9n27ChIXhWCRrpruE5bNAxhn7wHCgBX0FTvonyo2Y1I1FyyJdgw4u9JbBgb5y9FSc xttEMY1B3bzdA1bOH+rEhu9azm7r5d/oWw85GH7F7Q9vrEwiS10he1fdnrlcKT7Em8Bi V70g== 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 68-v6si848399pga.113.2018.08.27.18.58.45; Mon, 27 Aug 2018 18:59: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 S1727209AbeH1Fp5 (ORCPT + 99 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(-) 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), -- 2.17.1