Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp6553950imm; Mon, 27 Aug 2018 18:56:33 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdbi+DC0twlhegmg0NxlL03meogabdPcAeGJl9RMBIdjm7hhUUk0iVXjc/8wAqVsa9wPs+9H X-Received: by 2002:a17:902:ab94:: with SMTP id f20-v6mr15570099plr.231.1535421393916; Mon, 27 Aug 2018 18:56:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535421393; cv=none; d=google.com; s=arc-20160816; b=nfr0+oPCpCjFAce5RbIz0PTdGmTUnNwh8zQ+HMHZ6RM+SwBaM4MyG0aVzwhevlDSok 1bkrXcKfZBETYzgFovX4MjtW7MG6+ArBf7PSsgVjmDyxs9YMRQamEHY/fM83np8anuQ0 70fWknKW6GwhHNS0c6JVrSp1vaOtf4be02bTeZTiK4VX4nvJExPTbxbJeu5yXnqaVg3t +pyCdtHkeCzPf7+FZo+QSSwQsg3d/a0ReOwJBujYxWWxFHbew4v4jXf8cRWLQgVQTQme VinMFskkUlk5zW4YFdmYIxdZI0fLSwl5Zb+LHR3j7wS0kRzfucSov8uefODLa7lxogx3 5hsg== 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=zUZ0xxJM/1G1FFbtrT1BhDYi60fIfX55RpU7cbgPW0U=; b=hePBD5KMzgld1uOslC0f3EzyIze5Ga2bIriNivoAb15RqKBwt0a53+f3RqX+OmJQTL UAAgfJ8n2AG4kNcsDhRnTH3A6ow+n3bKt8gOXAkTvNrf/J0MuhfciHokN3APr023yx1+ Rf6kDlA1gPZZQsjzgawrhPc7tTHtnIGnrGwvU72VJ//bm89p58wAXYFuumsGz0KV8B8a OB0iX18cPQoIzG5m5ETl+YrOpr8vVqD/WWbZvdgtwDzo58C1CM5XFyFksc+1Kg0X1+1x ce1zF3CDdF0Nv0uuATQvU5YEjoy1OZ2ROEuTpREklEqw8ULZJ74kW45IAqsAOdCCtlGU J7KA== 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 b14-v6si903610pgk.169.2018.08.27.18.56.19; Mon, 27 Aug 2018 18:56:33 -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 S1727392AbeH1FmT (ORCPT + 99 others); Tue, 28 Aug 2018 01:42:19 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:33223 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726998AbeH1FmS (ORCPT ); Tue, 28 Aug 2018 01:42:18 -0400 Received: by mail-oi0-f67.google.com with SMTP id 8-v6so46514oip.0; Mon, 27 Aug 2018 18:53: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=zUZ0xxJM/1G1FFbtrT1BhDYi60fIfX55RpU7cbgPW0U=; b=aFQgd7jrdcp+xyKyYPc0nLcfOt3zSkz39F48sjjph5sq5S+7cOhez9UukqAfsU2TzF Lw9ixsXVJmTMNOiMEmdkq8q6hYvjzEGLAUo8RE87bAIos8BuEhRuw2e4E5cgtHTMPC5f LZ8yLWoJgEJN7LjgyYmXzJpA2QyuDD4/E2WDt7c8GjfBgv39CnV423E7jbNm9QybWSOx LGjUwzri68qXaKF8E5x4mw6sBUtlYBCLw03mK2aFERkRjqel0dPSxhvFljFWyNM7Da+p 6FgTOU6eAYskbFAQ+jP+ZIYpe2gb9Z+XjkFId8su/Ae1wBLnFQ0IGKmLJ/Ub8Ra5HZ8V WcAA== X-Gm-Message-State: APzg51CjL1k9wfU4uMft/cdpvDqt4Qk8H1HMX7xfOlbYvxYgJBhgSHtW 9VnYKoSpGjrRv/iVEuYSS2u/qFk= X-Received: by 2002:aca:c74d:: with SMTP id x74-v6mr980572oif.97.1535421182518; Mon, 27 Aug 2018 18:53:02 -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.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Aug 2018 18:53:01 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org Cc: Hans de Goede , Jens Axboe , linux-ide@vger.kernel.org Subject: [PATCH] ata: ahci: Convert to using %pOFn instead of device_node.name Date: Mon, 27 Aug 2018 20:52:10 -0500 Message-Id: <20180828015252.28511-9-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: Hans de Goede Cc: Jens Axboe Cc: linux-ide@vger.kernel.org Signed-off-by: Rob Herring --- drivers/ata/libahci_platform.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/ata/libahci_platform.c b/drivers/ata/libahci_platform.c index c92c10d55374..8ac2be869dd9 100644 --- a/drivers/ata/libahci_platform.c +++ b/drivers/ata/libahci_platform.c @@ -303,8 +303,8 @@ static int ahci_platform_get_phy(struct ahci_host_priv *hpriv, u32 port, /* No PHY support. Check if PHY is required. */ if (of_find_property(node, "phys", NULL)) { dev_err(dev, - "couldn't get PHY in node %s: ENOSYS\n", - node->name); + "couldn't get PHY in node %pOFn: ENOSYS\n", + node); break; } /* fall through */ @@ -316,8 +316,8 @@ static int ahci_platform_get_phy(struct ahci_host_priv *hpriv, u32 port, default: dev_err(dev, - "couldn't get PHY in node %s: %d\n", - node->name, rc); + "couldn't get PHY in node %pOFn: %d\n", + node, rc); break; } -- 2.17.1