From patchwork Tue Jul 18 21:43:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 108199 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp6480238qge; Tue, 18 Jul 2017 14:45:04 -0700 (PDT) X-Received: by 10.98.135.140 with SMTP id i134mr3693947pfe.237.1500414304105; Tue, 18 Jul 2017 14:45:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500414304; cv=none; d=google.com; s=arc-20160816; b=vKECsYQ6jjCAhRYd/7jaWlXOoARXONXXfvuxtoG69w05s/rpJQEZjB8gqFyiwVRBGA gpytscumZjFKhM1s348/g1X1MC7v7FGUSn5U1GR0hPODS2BjXbiuWn7wXXFs9NZH9wOO 7RokXGj8mSDuk4Y2uGSNBouF6p1QHmpgJHS+LH/vWjPHc5ZL69N7tLbq2n3vwN+bzEyR 949F1/EsToirH7BOFm10HmChwUqYld7Dun7kJlI0K2F7yhnpDgT/kaxpr+862PNtc2Ai HL9scSJgANhXV25PceHaQ6o+yySzfyivVkAljZB39sEMeqSrkKkpkxklxIvsYlndRlor GqRA== 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=7gpySbn7QMKwIZFQEdCnBLfX/41J/GkL+I+lqu9SMx0=; b=EMwvQirWq7d2dlzbyZVM9J0xuPExvEuSTnOow9XMgzeRP/1mVA8Q4Yelh32XWQ6BR8 g2KnwJmw3RE5k8NhkqwU5YDjL9gXepH0CXa2O4eSDPzhbhKQpKgsinxCJl6Uf295vCbx YqXuuLQ3Q9dpHWf3H4GFAIiRqKZvmqblCBfIImEqkpftOanSDkFA68feiunN3jpP2BwU UVjYvlBMUw1A6RbSv+1C0CotA/HKxQ2u4zBQQb6g1leqAqlvisOzn2zRY0P/F/l84B87 lZP3DADkYuWC8Ikisdg8F0kNPrSN8U6ZxM+LisIGc2foTw77CyW+Bd7n3tiWaiqT3+ii oRYw== 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 b15si2664309pgr.29.2017.07.18.14.45.03; Tue, 18 Jul 2017 14:45:04 -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 S1752923AbdGRVo7 (ORCPT + 25 others); Tue, 18 Jul 2017 17:44:59 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:35203 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752885AbdGRVo4 (ORCPT ); Tue, 18 Jul 2017 17:44:56 -0400 Received: by mail-pg0-f67.google.com with SMTP id d193so4332997pgc.2; Tue, 18 Jul 2017 14:44:56 -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=7gpySbn7QMKwIZFQEdCnBLfX/41J/GkL+I+lqu9SMx0=; b=g1auT9eOIGuqtBfX3L5H6fot9VRP24wOrjjVYxbDSZM4FCN9FANMuZzIorc+B9zK45 XPUHmqn6mGLu69rRi7SV6K3G2kcjPnsCwHC8P71WSQxlbOx/rz48KKqin1jbVA0Exrc0 bKVfseY6kVo/L1Ri7HoX5ERCce6T6UfLV30ujTMh5mDGOTN6uL6pCnbW5rc/xz0fM5Ah 1Ty4NlCYkVcWrwBVJK3tsT7OTJb43KtWtYwrCtN9Cg9CTz8yK8NC4U2i73wK/zcvhEQa DC9Ef4m8IDn6VKe6l6RVEva2KP7E/BjGWPj1x/goc74WVSx9WjMFMlClvgcsQTo8yPgx tLNg== X-Gm-Message-State: AIVw113LKbb/CgAOQyRrzjdmZX1T2G2fOgzx9eLlzREeHBf1CF1qPsMi Wefjvq3cGEqtpaWRV0baKw== X-Received: by 10.84.131.71 with SMTP id 65mr3883897pld.35.1500414295831; Tue, 18 Jul 2017 14:44:55 -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.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jul 2017 14:44:55 -0700 (PDT) From: Rob Herring To: Nicolas Ferre Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Sebastian Reichel , linux-pm@vger.kernel.org Subject: [PATCH] power/reset: Convert to using %pOF instead of full_name Date: Tue, 18 Jul 2017 16:43:24 -0500 Message-Id: <20170718214339.7774-44-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: Nicolas Ferre Cc: Sebastian Reichel Cc: linux-pm@vger.kernel.org --- drivers/power/reset/at91-sama5d2_shdwc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.11.0 diff --git a/drivers/power/reset/at91-sama5d2_shdwc.c b/drivers/power/reset/at91-sama5d2_shdwc.c index 55fce8b75245..31080c254124 100644 --- a/drivers/power/reset/at91-sama5d2_shdwc.c +++ b/drivers/power/reset/at91-sama5d2_shdwc.c @@ -171,8 +171,8 @@ static u32 at91_shdwc_get_wakeup_input(struct platform_device *pdev, for_each_child_of_node(np, cnp) { if (of_property_read_u32(cnp, "reg", &wk_input)) { - dev_warn(&pdev->dev, "reg property is missing for %s\n", - cnp->full_name); + dev_warn(&pdev->dev, "reg property is missing for %pOF\n", + cnp); continue; }