From patchwork Tue Aug 28 01:52:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 145247 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp608608ljw; Mon, 27 Aug 2018 18:53:36 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY3CcYH1QmhbYvp/TY4HmemrTYvHDCmffyd/lhJi49bK5MW+pUmAdbH/Ys0zLt+E/EDquJI X-Received: by 2002:a17:902:9693:: with SMTP id n19-v6mr15497477plp.282.1535421216517; Mon, 27 Aug 2018 18:53:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535421216; cv=none; d=google.com; s=arc-20160816; b=Hqoik7cipUhCiV+hf4XC3KIAqnxBDu2QZi9x+vxzpG2PHNcpu0hANfT6SEeqOeMOMB JD8ghVYzh4xIgn6Ck6aT3cBsVt1KX/Ig5qdimBK4wPUa8/Tj63frqWBDreRUAVUlEAdB DobMBgaebZZNebiNJr9DAGrtEs9cdT4GS7FczaN5GDyywy6frgZLlNdRdKSy80eyOHJd di049SK6eTBBclfxNYVobu8TIsjC5cAmp2SHz9E0nUFw5Vs35cwDTtK6pZavxsl/aew7 wN6DQcAPgYfgdmrtT5Ur+IY3hvFtRBptxJVTEpNgCHHpotsSuzXkhT5jzUFeUwZG6MA3 JqPQ== 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=Y1qHQResAlD2KiXb5xbn3PbqFItIKYsgzg8ghNozEYM=; b=Dsrz0ngHCfWNXYV+s7EDhSC0sSpI+KmELVYl5Z39ZrJS8bzo037pVT3Etu7H/OOiWI 1xM1pqEA0EIKcZ3Sa6+d0+Ls4yFEB92vSgOJpICQ0oJwosqcan3ysoqSGG93YeiZ39kw BFozQHvZUfyZBj9SxFV1fQjQfB7L9JRYVkyOrS48S3Xi4tmTzRiWcdRqSy+mjTPXYUiY MMuk3KxvPH83nFGUXwUUL54uKbmMSnUr4p+bZthnyKi78lQzv7NXdfGnqAvtWq6a8Ol2 qk7v0RSQEOgSvE+gyvHS9+lnMR7zpd6YZ8Giw/9yXhMFkdaTHytNepk8NboFY/1ko6ds DpPQ== 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 u7-v6si874133plz.353.2018.08.27.18.53.36; Mon, 27 Aug 2018 18:53:36 -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 S1727505AbeH1Fm1 (ORCPT + 32 others); Tue, 28 Aug 2018 01:42:27 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:35484 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726998AbeH1FmY (ORCPT ); Tue, 28 Aug 2018 01:42:24 -0400 Received: by mail-oi0-f67.google.com with SMTP id m11-v6so34075oic.2; Mon, 27 Aug 2018 18:53:09 -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=Y1qHQResAlD2KiXb5xbn3PbqFItIKYsgzg8ghNozEYM=; b=U6Ya18GgbJeNi0NNTi9GPKl4ZM7vRNa6F9iG80jOhPbKSo7yUWNzgLJ3XaB3GrjVvj JZf0EiwxSu2iOWv40wARcqAneDgoPifIjC4UFsnQBuBkccUdRhPimdeKGThZMj5hKbxD GCYLruSlI3DbSfzHo6YzZiwNae1N2ccgvW9lJNfWV1XTd+EoCr2kV7mSZqIveCAW9SJ6 WL7AV3gex1ykmpXs9jrrFzz4Q+UwAP2jDBYG+RACZGfyyi5r0G5xMANGDLaivWavYwXX vx2kL6X4gAomDAwLilIN3Ek03PDCEw6xMFK+yRJFYobzrnzZJLe0qFuvfd/ovDwbnEgr HrOQ== X-Gm-Message-State: APzg51ALBr9qg/c1AKMt9r1nD9IpGDwQ15WV2/w8nL9BEBkXF/2oTj2Z dGy0C+q3/pZ1STnZIhFozUVbkRA= X-Received: by 2002:aca:b885:: with SMTP id i127-v6mr1122575oif.180.1535421188866; Mon, 27 Aug 2018 18:53:08 -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.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Aug 2018 18:53:08 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org Cc: Chanwoo Choi , MyungJoo Ham , Kyungmin Park , Kukjin Kim , Krzysztof Kozlowski , linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH] devfreq: Convert to using %pOFn instead of device_node.name Date: Mon, 27 Aug 2018 20:52:16 -0500 Message-Id: <20180828015252.28511-15-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: Chanwoo Choi Cc: MyungJoo Ham Cc: Kyungmin Park Cc: Kukjin Kim Cc: Krzysztof Kozlowski Cc: linux-pm@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org Signed-off-by: Rob Herring --- drivers/devfreq/event/exynos-ppmu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/drivers/devfreq/event/exynos-ppmu.c b/drivers/devfreq/event/exynos-ppmu.c index a9c64f0d3284..c61de0bdf053 100644 --- a/drivers/devfreq/event/exynos-ppmu.c +++ b/drivers/devfreq/event/exynos-ppmu.c @@ -535,8 +535,8 @@ static int of_get_devfreq_events(struct device_node *np, if (i == ARRAY_SIZE(ppmu_events)) { dev_warn(dev, - "don't know how to configure events : %s\n", - node->name); + "don't know how to configure events : %pOFn\n", + node); continue; }