From patchwork Tue Aug 28 01:52:15 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: 10577779 X-Patchwork-Delegate: rjw@sisk.pl Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5DE901390 for ; Tue, 28 Aug 2018 01:54:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5115929A74 for ; Tue, 28 Aug 2018 01:54:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4581D29A72; Tue, 28 Aug 2018 01:54:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DD12929A74 for ; Tue, 28 Aug 2018 01:54:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727627AbeH1FnJ (ORCPT ); Tue, 28 Aug 2018 01:43:09 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:45034 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727433AbeH1FmX (ORCPT ); Tue, 28 Aug 2018 01:42:23 -0400 Received: by mail-oi0-f67.google.com with SMTP id l82-v6so1707053oih.11; Mon, 27 Aug 2018 18:53:08 -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=N5bgoqfM5UiblPUohKxewB3I7xGYDLNRVmBHYWF2U/E=; b=WAfUDA4VWMXGFcL3up1tFmRl7UjWYZ2bAMYeFXkpwaOLc1Qh8j0FbRnAQIAL5NAfEY v5wkWHQZh17AbFe4vWCzpzYwxcssXO+04YsvB8X5Uc5jB7ObLWUGy2hd69qTZeQAKHgv eCWgR4JeDuuMhJbA5qQZq/wII0NF8LiG8UDUoZUVI2xWcxjCCzMmbIs4WpCf5xQNH5di LjB7ypYk2hIGpUhqBR2di4pis4yr4x0YMmAjEWF17lqrMt05H5tKgiVYJ5fIAD7X/Kxg 599s7SI8ygUGikNUSahk11EMmuYNTsmYKsFDIFqXuK4NuAWYfbn1kgktDUdOJdF3bDSO ouAw== X-Gm-Message-State: APzg51BrXLAWBM+Fvoblkb8hfxyAB9JtJOz1am1yOVkwQXPRia01B4EN olGZqk7Cp9HchvmpY+KBG9pnRTo= X-Google-Smtp-Source: ANB0VdZTD7AmWtgOFatgXeQB0z+2z7dWWXDZr6UoVlgR9vtj2H2l87rlr03HbjbiT+Uzzfp49dPHsQ== X-Received: by 2002:aca:cc90:: with SMTP id c138-v6mr1152461oig.282.1535421187683; Mon, 27 Aug 2018 18:53:07 -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.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Aug 2018 18:53:07 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org Cc: "Rafael J. Wysocki" , Viresh Kumar , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH] cpufreq: Convert to using %pOFn instead of device_node.name Date: Mon, 27 Aug 2018 20:52:15 -0500 Message-Id: <20180828015252.28511-14-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-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP In preparation to remove the node name pointer from struct device_node, convert printf users to use the %pOFn format specifier. Cc: "Rafael J. Wysocki" Cc: Viresh Kumar Cc: linux-arm-kernel@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org Cc: linux-pm@vger.kernel.org Signed-off-by: Rob Herring Acked-by: Viresh Kumar --- drivers/cpufreq/s5pv210-cpufreq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/cpufreq/s5pv210-cpufreq.c b/drivers/cpufreq/s5pv210-cpufreq.c index 5d31c2db12a3..dbecd7667db2 100644 --- a/drivers/cpufreq/s5pv210-cpufreq.c +++ b/drivers/cpufreq/s5pv210-cpufreq.c @@ -611,8 +611,8 @@ static int s5pv210_cpufreq_probe(struct platform_device *pdev) for_each_compatible_node(np, NULL, "samsung,s5pv210-dmc") { id = of_alias_get_id(np, "dmc"); if (id < 0 || id >= ARRAY_SIZE(dmc_base)) { - pr_err("%s: failed to get alias of dmc node '%s'\n", - __func__, np->name); + pr_err("%s: failed to get alias of dmc node '%pOFn'\n", + __func__, np); of_node_put(np); return id; }