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: 10577815 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 CF86D1390 for ; Tue, 28 Aug 2018 01:57:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C121829A72 for ; Tue, 28 Aug 2018 01:57:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B56DD29A79; Tue, 28 Aug 2018 01:57:14 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5BBB929A72 for ; Tue, 28 Aug 2018 01:57:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=rMUxQAKsa/02mkdo5vRuFoZJ6Kb9CCbVbmZtEHovDUk=; b=MZ9xTozt+czjY5GvXfXLEmdQN3 hVWkFmbq7ChowaNEEtxcjgtgvgGWSRA3YkiQasUz80pvORvebLG7ecYkggqtZjvArc5Wvg4RYzwcw gDLZ9qK/UWelWr9W/xeuZF4RzOfV+MiUJ3ZwQHY8wP7nOBuvFD+nju29YSxGQei0WkQveQIWEfZK1 Omv2VbdwVBqWMVY2ajN8RprJLSUkARh12g7jaGGRVIZoytxcMW9dP5S3lEaK67lonhL0/XSIBXtgp jDkgY3O585ROxiG0h5QZ3HPQdDcVWYEPWC1BX69u886g4SyZhwuf6QuQBr75j0Z5sPrxIBKe08MYZ UUNCKJxw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fuTFe-0000jR-0g; Tue, 28 Aug 2018 01:57:02 +0000 Received: from mail-oi0-f65.google.com ([209.85.218.65]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fuTC1-0006HO-Oc for linux-arm-kernel@lists.infradead.org; Tue, 28 Aug 2018 01:53:21 +0000 Received: by mail-oi0-f65.google.com with SMTP id c190-v6so8867oig.6 for ; 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=jWCLbXYKbhjQcV7Pt4PQsX3hSHFCJIjObXcg/9m9f3Ami4JupbAxSr68GkhR2xTVcM RAgjetd09bn8WGd3qshRNXO2HJHjGU6a3FLE7z3SnGjwzzIlHJGJ8KUi6UM3FslVk4+U rg9BrmPSIzPqxD63E1BgLqfTMmEPw39aeUgz/Sut8U2gQpdLTLt0jKuL1uYDZhWvQtYc seXROmFDrJypbkXxIA5bYBNnZn3WwEF4jVOqUTefYZBZhgDh6z0wTMDuaUVbh6DdcH6N VD3VgrGsbmV1/LS7Lh7of4IQfA+9eqGUX/B6TT4/62zQDJEaSn3uJONqUuREQSjpRoTn kMhQ== X-Gm-Message-State: APzg51ATH3M2vmQTK+sCfzTY62zB4SpRqEImPXOv10R9ZM2PL/9JmTZA Ob2CuYRGpfLZQR5Ob22yY34ZGnM= 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180827_185317_928363_5DE72DCB X-CRM114-Status: GOOD ( 13.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Viresh Kumar , linux-samsung-soc@vger.kernel.org, "Rafael J. Wysocki" , linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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; }