Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp831941rwl; Wed, 29 Mar 2023 09:02:32 -0700 (PDT) X-Google-Smtp-Source: AKy350b9KHkNGF6X9Dz0axbxseO9sfdaVAjg984XVmvdRiKMBFDstRJRooBdRMAm55ALyFlxHOfQ X-Received: by 2002:a17:90b:1b49:b0:23f:9439:9a27 with SMTP id nv9-20020a17090b1b4900b0023f94399a27mr21148614pjb.20.1680105752438; Wed, 29 Mar 2023 09:02:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680105752; cv=none; d=google.com; s=arc-20160816; b=RImSSHw4XSSow/kWmO+Raz2WZRFPfZpE3j4bbCh3IoCAybxmL0m8r0BJ4LQq5aYbB6 OLKWBMlAdkGj82uo7+bRGF+qf0fc6NhddRXFxZo9+OYkZMOMDA9RWC+sWGgSXve3RkVa OonqDrTEf5anzhYvmdNYQm2ptLtVaSz3oAnoLnP5WLwtEDkLrGEGvOFTmZ8qFhV3NkIa JmsBJ3tH2wx1RI5LkzPDCVxLIpI+y/q/mlU71EIKacBfF1JUhuahlyU3F06KbGaYCzFp X9opY0MxgmyAQewz/rRoJNFfI2xAkofOhBcALH4DMq5Y3SXfw5sMJ3WvwNApMuOW19eu NFPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=MO+FARPo1s+vOKrhbp3w8tkqQxZEoOnLU4F4z7zmfPo=; b=cqCyMfGia83yrJKItcMEiu4uLULVwavyzhAv5G+QaSsbTWHYUvlMPdHACKwepW7YU1 MJ3rFhIFDzG0zFEQEdffVSsEz7GWQhloZ5058jBlJ6rxNoYy7CjFugKeacX9ca0+MIg8 uAN9xo0HZcKXalmU9nibOiw6XHaJruLV6qxTab3P5rvYZacxa1cFInWdPP4Ue3MmKRFq /2LE2U0nxKrtTZ9HgF1pmEKocJheJLdSUwWB8qq00CIqPZINNBADmHPv/ESJTs0xPE2i qd9Y87y76hLSbPgAuE9jUht1XlxfJ7z9zV/6XWbd5vWQVpq8J+ce4sWxPkjBEPHeNO7P AqRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i4-20020a17090ad34400b0023d1b2a6e1asi1688281pjx.80.2023.03.29.09.02.18; Wed, 29 Mar 2023 09:02:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231416AbjC2P7m convert rfc822-to-8bit (ORCPT + 99 others); Wed, 29 Mar 2023 11:59:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231245AbjC2P7J (ORCPT ); Wed, 29 Mar 2023 11:59:09 -0400 Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39A496A54; Wed, 29 Mar 2023 08:58:34 -0700 (PDT) Received: by mail-ed1-f47.google.com with SMTP id eh3so65215889edb.11; Wed, 29 Mar 2023 08:58:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680105487; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mzq+vIJia6Oe7/D+Sh+wrCg8ai+vibYcP9Z6Z0Gi+ds=; b=dPIuDM8VjmyvDyonAgBZIaxnHgv4uo1h98NX225Q0Vo3m92jZQGJTE/qwJLvpdlqvn 2rMvxwXLkbnDmfb/eC2FJC3M/8kYg9b6UmDcNc3RPTyGicrO3lQ2IdEbUgYI5E//fd4M IRaCn1vZfRfy+dp+XfRQE5O4k1BaB2i+lIPPr77PsaXuNTijzC7eyUztZ7PUVLOeURyS 555piq7an4q1dPZpfDovAKJIWuEL+hTh+HjiD6MOkOSWRtY4WfrqK5mGVJ+h2WqncSsq H+NvGJPuIfxg2AWilgPGqD4lAdzjXNqVzGRDblemqT2Qj/IhGg5uky/hZ9vFSTBTJiW0 kfOg== X-Gm-Message-State: AAQBX9fjqPktmrtUFqX7oT3pZpUk33yXbJ7XBVNdWa6G4s8BIcB3DKOz ngcqP4c2ipcZek1393OWDPB04k9kxo3s+TBNe04= X-Received: by 2002:a50:d49e:0:b0:502:148d:9e1e with SMTP id s30-20020a50d49e000000b00502148d9e1emr9950905edi.3.1680105487384; Wed, 29 Mar 2023 08:58:07 -0700 (PDT) MIME-Version: 1.0 References: <20230329-dt-cpu-header-cleanups-v1-0-581e2605fe47@kernel.org> <20230329-dt-cpu-header-cleanups-v1-14-581e2605fe47@kernel.org> In-Reply-To: <20230329-dt-cpu-header-cleanups-v1-14-581e2605fe47@kernel.org> From: "Rafael J. Wysocki" Date: Wed, 29 Mar 2023 17:57:56 +0200 Message-ID: Subject: Re: [PATCH 14/19] cpufreq: Adjust includes to remove of_device.h To: Rob Herring Cc: "David S. Miller" , Rob Herring , Frank Rowand , Russell King , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Paul Walmsley , Palmer Dabbelt , Albert Ou , Greg Kroah-Hartman , "Rafael J. Wysocki" , Daniel Lezcano , Thomas Gleixner , Amit Daniel Kachhap , Viresh Kumar , Lukasz Luba , Amit Kucheria , Zhang Rui , Matthias Brugger , AngeloGioacchino Del Regno , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Thierry Reding , Jonathan Hunter , Yangtao Li , Lorenzo Pieralisi , Sudeep Holla , Andy Gross , Bjorn Andersson , Konrad Dybcio , Anup Patel , Huacai Chen , Jiaxun Yang , Marc Zyngier , Viresh Kumar , Nishanth Menon , Stephen Boyd , sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-riscv@lists.infradead.org, linux-pm@vger.kernel.org, linux-mediatek@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-mips@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=0.5 required=5.0 tests=FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 29, 2023 at 5:53 PM Rob Herring wrote: > > Now that of_cpu_device_node_get() is defined in of.h, of_device.h is just > implicitly including other includes, and is no longer needed. Adjust the > include files with what was implicitly included by of_device.h (cpu.h and > of.h) and drop including of_device.h. > > Signed-off-by: Rob Herring > --- > Please ack and I will take the series via the DT tree. Acked-by: Rafael J. Wysocki > --- > drivers/cpufreq/cpufreq-dt-platdev.c | 1 - > drivers/cpufreq/kirkwood-cpufreq.c | 2 +- > drivers/cpufreq/maple-cpufreq.c | 2 +- > drivers/cpufreq/pmac32-cpufreq.c | 2 +- > drivers/cpufreq/pmac64-cpufreq.c | 2 +- > drivers/cpufreq/qcom-cpufreq-hw.c | 4 ++-- > drivers/cpufreq/spear-cpufreq.c | 2 +- > drivers/cpufreq/tegra124-cpufreq.c | 1 - > drivers/cpufreq/tegra20-cpufreq.c | 2 +- > include/linux/cpufreq.h | 1 - > 10 files changed, 8 insertions(+), 11 deletions(-) > > diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c > index e85703651098..f9675e1a8529 100644 > --- a/drivers/cpufreq/cpufreq-dt-platdev.c > +++ b/drivers/cpufreq/cpufreq-dt-platdev.c > @@ -6,7 +6,6 @@ > > #include > #include > -#include > #include > > #include "cpufreq-dt.h" > diff --git a/drivers/cpufreq/kirkwood-cpufreq.c b/drivers/cpufreq/kirkwood-cpufreq.c > index 70ad8fe1d78b..95588101efbd 100644 > --- a/drivers/cpufreq/kirkwood-cpufreq.c > +++ b/drivers/cpufreq/kirkwood-cpufreq.c > @@ -9,7 +9,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/cpufreq/maple-cpufreq.c b/drivers/cpufreq/maple-cpufreq.c > index 28d346062166..f9306410a07f 100644 > --- a/drivers/cpufreq/maple-cpufreq.c > +++ b/drivers/cpufreq/maple-cpufreq.c > @@ -23,7 +23,7 @@ > #include > #include > #include > -#include > +#include > > #define DBG(fmt...) pr_debug(fmt) > > diff --git a/drivers/cpufreq/pmac32-cpufreq.c b/drivers/cpufreq/pmac32-cpufreq.c > index 4b8ee2014da6..a28716d8fc54 100644 > --- a/drivers/cpufreq/pmac32-cpufreq.c > +++ b/drivers/cpufreq/pmac32-cpufreq.c > @@ -23,7 +23,7 @@ > #include > #include > #include > -#include > +#include > > #include > #include > diff --git a/drivers/cpufreq/pmac64-cpufreq.c b/drivers/cpufreq/pmac64-cpufreq.c > index ba9c31d98bd6..2cd2b06849a2 100644 > --- a/drivers/cpufreq/pmac64-cpufreq.c > +++ b/drivers/cpufreq/pmac64-cpufreq.c > @@ -21,7 +21,7 @@ > #include > #include > #include > -#include > +#include > > #include > #include > diff --git a/drivers/cpufreq/qcom-cpufreq-hw.c b/drivers/cpufreq/qcom-cpufreq-hw.c > index 2f581d2d617d..df165a078d14 100644 > --- a/drivers/cpufreq/qcom-cpufreq-hw.c > +++ b/drivers/cpufreq/qcom-cpufreq-hw.c > @@ -11,8 +11,8 @@ > #include > #include > #include > -#include > -#include > +#include > +#include > #include > #include > #include > diff --git a/drivers/cpufreq/spear-cpufreq.c b/drivers/cpufreq/spear-cpufreq.c > index c6fdf019dbde..78b875db6b66 100644 > --- a/drivers/cpufreq/spear-cpufreq.c > +++ b/drivers/cpufreq/spear-cpufreq.c > @@ -18,7 +18,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/cpufreq/tegra124-cpufreq.c b/drivers/cpufreq/tegra124-cpufreq.c > index 7a1ea6fdcab6..312ca5ddc6c4 100644 > --- a/drivers/cpufreq/tegra124-cpufreq.c > +++ b/drivers/cpufreq/tegra124-cpufreq.c > @@ -11,7 +11,6 @@ > #include > #include > #include > -#include > #include > #include > #include > diff --git a/drivers/cpufreq/tegra20-cpufreq.c b/drivers/cpufreq/tegra20-cpufreq.c > index ab7ac7df9e62..5d1f5f87e46d 100644 > --- a/drivers/cpufreq/tegra20-cpufreq.c > +++ b/drivers/cpufreq/tegra20-cpufreq.c > @@ -12,7 +12,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h > index 65623233ab2f..3ac4a10d4651 100644 > --- a/include/linux/cpufreq.h > +++ b/include/linux/cpufreq.h > @@ -15,7 +15,6 @@ > #include > #include > #include > -#include > #include > #include > #include > > -- > 2.39.2 >