From patchwork Mon Oct 1 21:43:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 147942 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp4403592lji; Mon, 1 Oct 2018 14:44:00 -0700 (PDT) X-Google-Smtp-Source: ACcGV61CcHiitbZUPKlTwwvQ0kjRfAk98CuXTS6glDmeo5ERVjxr5HDwXvAYHBldzefbaCiuBVL5 X-Received: by 2002:a65:655a:: with SMTP id a26-v6mr11822175pgw.389.1538430239933; Mon, 01 Oct 2018 14:43:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538430239; cv=none; d=google.com; s=arc-20160816; b=RL6V2el4KF8aReIMD3hKnSvJaAUAqxhSYZPCf2wpsmHr39xuQNRdLH3Q6JU4pvUQgg KbVmqaVIEewgJR4eoSn8QIEZqR3h8i3P0XlqkQdZ6bD/8OZRXe5TTyeaAC+Re0BwojQS g1XvfRO7bLXVDDn0/XyHSwEvG+me99NC2z853DWlLP5RY2vrhz3RkL+B7suTpCQ3wn9N KBLWaW1Bbp/wtzHNZlM4mcSAFC6nbWMi7HcHJs+8oFW7FZfE+3JhCZwe2XiW3TGHb6i6 o68efoeQhnfgbwI2ccKMlGgt6cP4nT5m/JNpeE49nRSmIbByH1bYUUW9BHX04rlcvzHd oKRg== 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; bh=Az5NjA7D7pxn/8q18ZaQeaoVDR3ADQmGuCcjv9gBHS8=; b=r9iBo4eOjctSXi3Ji+L0S+G/XJahb4lFQfpbhtkSLN0tDiNl6jDAsS0qRrQKSF9B+O d/Nv3G1O/B/bwSa4josWMywAu0BRyHnuEbmhMl3ykKvTBCe9uMjygrp+VOyZa1ydO+/I C31M4zleSJ4Kqp1ITyY2amuyk78jyDcLqxdzqtXx67KAM9jmMjkwO3Uona9E/Iz2/nhB mekbka2J1UuPZ09PaBcJywOafbFiMYPFXk6s7F3OIam43aMSJPpwws5BdFOzMtQmN3gw GA8QaPHkZj9o+786xsi1v/9EisTzzTv2koSovZdqtNH6q5wOI0leML+7AHCA0zAQqNkx r+9Q== 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 u18-v6si9999783pgl.59.2018.10.01.14.43.59; Mon, 01 Oct 2018 14:43:59 -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 S1726525AbeJBEXq (ORCPT + 32 others); Tue, 2 Oct 2018 00:23:46 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:35096 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726483AbeJBEXp (ORCPT ); Tue, 2 Oct 2018 00:23:45 -0400 Received: by mail-ot1-f65.google.com with SMTP id j9-v6so14775396otl.2; Mon, 01 Oct 2018 14:43:55 -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=Az5NjA7D7pxn/8q18ZaQeaoVDR3ADQmGuCcjv9gBHS8=; b=rQg7r67djmMFeGcGH0iNKMMdSxBbDL+4gLMnAIG2egvWVGIIj1ctBKKSRLPVEdOvNO KxBiN46aZL5woklzqFSCa+5uC8n61+BOo3gdXS9lLO9+2BCvYcwYytv6DjJ7qjaXFPqK xXYKHDNDgUroFza/a9XjXvB+wT7ev3oIXJ3fg2ap73PZkvFQYpwH0HSzMPRpACw8ZHmz 8wpAYlZCCj3K7ckNGuHwYxM6s9DYHnCgLJyWOXEBbda3p/2KGmImowcZqE/e72cb3bS1 8wqJVDbWMnzZ7JtGLVdOKjj4LYTUKcug0eVtISv2WI213GRWMJzddP+WT4NEzHrzBcpw rbYA== X-Gm-Message-State: ABuFfojLrHTdZnVYp3f3Dr2OBqy2NVGEmWE+s9EFPXK7Tac/exLBbYps RHfkX6ugIZtVDEu321tBqTwXI1wh5g== X-Received: by 2002:a9d:5f03:: with SMTP id f3-v6mr8233878oti.166.1538430234469; Mon, 01 Oct 2018 14:43:54 -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 h22-v6sm6401661otd.21.2018.10.01.14.43.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Oct 2018 14:43:53 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org Cc: Sebastian Reichel , linux-pm@vger.kernel.org Subject: [PATCH] power: reset: Convert to using %pOFn instead of device_node.name Date: Mon, 1 Oct 2018 16:43:50 -0500 Message-Id: <20181001214351.13230-3-robh@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181001214351.13230-1-robh@kernel.org> References: <20181001214351.13230-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: Sebastian Reichel Cc: linux-pm@vger.kernel.org Signed-off-by: Rob Herring --- drivers/power/reset/axxia-reset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/power/reset/axxia-reset.c b/drivers/power/reset/axxia-reset.c index 4e4cd1c8fe50..b16013265142 100644 --- a/drivers/power/reset/axxia-reset.c +++ b/drivers/power/reset/axxia-reset.c @@ -65,7 +65,7 @@ static int axxia_reset_probe(struct platform_device *pdev) syscon = syscon_regmap_lookup_by_phandle(dev->of_node, "syscon"); if (IS_ERR(syscon)) { - pr_err("%s: syscon lookup failed\n", dev->of_node->name); + pr_err("%pOFn: syscon lookup failed\n", dev->of_node); return PTR_ERR(syscon); }