Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp6553411imm; Mon, 27 Aug 2018 18:55:45 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ5ZNCDHaAGsJAZMlIm15i59Ud2vks4adJcFvfOB7uAELEWenKAhfCAHx6jSu7wVcJrkfav X-Received: by 2002:a63:6c05:: with SMTP id h5-v6mr14175399pgc.367.1535421345048; Mon, 27 Aug 2018 18:55:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535421345; cv=none; d=google.com; s=arc-20160816; b=KV9AIS8UoaLOHb0HKPyp0nWKonUuO8pW68TT5jcdrXzqHr00yolfyE0DEz3LuZda5i ADNLGktokbXg50O3xN811MCPNpl3IKyg4hNUlAfv/0+yYawZgfx5cxPgKv7qm3eWu/Ct QM4j8XF+v3YUpLeCs4fHPRr0xG/K2rBaN2PdWh0WfE9JMwVDyhNycpE/X0N4Geqrf4oR KQqB8+toBtIRqmpdItZL/2jG79cQzVDbblgiTG7ly6CeK+iD6VKWo4xOHO+2q7VAUJY8 F68JBDb37RYtD9L0q5luCI5ef4IqxKSY/b6JZZBHR12mrUK4y2YdBT1Z3hUhQPVD5MiG Ds3Q== 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=N5bgoqfM5UiblPUohKxewB3I7xGYDLNRVmBHYWF2U/E=; b=W/Vdv8s1suohwY6sM+sdYrTnE+qQrnPYL8p0SO9mSNj3RLYUxwV9EBR3NwfUp9SoTx XcoZLKDSQkLPoDbPEE/MChVDvkEib4w+aG/sQFwQfpKfdH2WiXT9poSb1pJYNa5F+uj2 jAtcsdKeXlOFtnkDWC0eq9Ls6nFWqcW6OCGOzR8H/CVq35OZDji0x8kLrZa1BcPA/DWy hnxZrtLfYZaovNGOT0M4SPi7JG/i8MdD2xBS2ojW7Nh+TfXx+bRPaI/gTzIUQwgjpx+L 3M8R5FuJiFQKKrg0mNx44PFpDZovKAdtOO4VxcRmVQLyNt/KbBLxLi7rmuqpf4K1W96D Fwog== 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 k7-v6si942325pfb.309.2018.08.27.18.55.29; Mon, 27 Aug 2018 18:55:45 -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 S1727674AbeH1FnJ (ORCPT + 99 others); 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-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-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: "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 --- 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; } -- 2.17.1