Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1579884rwl; Wed, 29 Mar 2023 21:16:42 -0700 (PDT) X-Google-Smtp-Source: AKy350YKbyYr19ebc3Vvr7COPE0g1NXxCQSCVNHFNFXUWtri9/6d8dzB816lQCEq+icnfea7RPUw X-Received: by 2002:a17:90a:4386:b0:23b:35cd:5b9a with SMTP id r6-20020a17090a438600b0023b35cd5b9amr1012200pjg.4.1680149802326; Wed, 29 Mar 2023 21:16:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680149802; cv=none; d=google.com; s=arc-20160816; b=i5C6izJjBzATNZ/V4jw5lBM/jvKSXQJer4KwHq01vEod7jPdKXos3Ft9WUkEQOnEJ9 FksGLUTQJgAsbRYngsFvD5q94QCmvcVQB7/32IC9j9SizDDJIDjADIQUXuqMVP+8Ez9N 95os4hfm5nKpj+DzpD3cQk0+wu0NGl364Dok9gWPc2HoNRsU9L63tgm2z3LBjjONpxhV CU0dLmK5hiJqsnILpZWAMtw76sW7us2w+CnJUIYVAGEQBLoYXDdm1VMPwjvdRDazKdFT RzqsXTyqcU78jlExBJyUO8uyIHE9RJ+2hF5JnyAMdSsIFDGWWoJg8U44SvD0MCBQoZ64 8PVg== 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 :dkim-signature; bh=DRrMSTrE1hzXNMTnJR9hzwcHZG5OJLH6N1k4mRkhtxc=; b=Vb1vCPxOZk0hdIgHuDbY9LVBvrRokQ6Ytgwu1dfgQLMnZLrkco9vRj5KVHpZuHSgvr J0WAJl3SYwtiAGCxoou9cmGJukRC8vyK/H1+olCIkr9Jk9uD8mCbPD7Lzl5pHz2zsar+ z2kb0LZQ0VPNEu7ZI9fMRMoxe/c/3HPyYllNdOcTm4/Fa0MPhsxGzjS0+OrIdowJzznY n0ES8n68vWmZSiv82LAXuIoXd0bOMaWoX8rAxbv2wnqXDPAFwnygcgcMk8wpc+Sgg0br Nmms0LIOr1LT8Gj5EBCnn8dzMYAbC4otDfON5YY8099fKxpfQwZKwDKj3naQM2jV6ZnL fapw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20210112.gappssmtp.com header.s=20210112 header.b=ynfExVnq; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y1-20020a17090a134100b0023739b10613si3082028pjf.59.2023.03.29.21.16.30; Wed, 29 Mar 2023 21:16:42 -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; dkim=pass header.i=@brainfault-org.20210112.gappssmtp.com header.s=20210112 header.b=ynfExVnq; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229791AbjC3ECa (ORCPT + 99 others); Thu, 30 Mar 2023 00:02:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229819AbjC3ECY (ORCPT ); Thu, 30 Mar 2023 00:02:24 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D72BC5272 for ; Wed, 29 Mar 2023 21:02:19 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id eh3so71339471edb.11 for ; Wed, 29 Mar 2023 21:02:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20210112.gappssmtp.com; s=20210112; t=1680148938; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=DRrMSTrE1hzXNMTnJR9hzwcHZG5OJLH6N1k4mRkhtxc=; b=ynfExVnq8Pbne4CrK35vVvzcZo/HMcJEJUR3Ujna/kLNgyxndnnVOhaOok7Q3u4boK FW4keBgSZ6pU7kWyE+manshTU5Tk7hNavSWkOvFCWTteIMmp/9Qk7GSzFj7kYZ5XfmBv miUHdrLcGJzpXksYn+qz42allwe3QMPmR/pnE7vpqvm1r6J8sdtN2nbt3yHJRZJvjQa2 WULHOKYx2FaImOfeOidrkyK9ABt3NseOxAzqi3/iHsrvkvaPYLGzC0VonLkMDJt7dAvE qA6CCYx7R2kWBHI86Kqb+JhYZk0VIktRQH4ecdVqtPrNiVN9gXZkgnTnC6UdsKE6Gs/B u+Eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680148938; 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=DRrMSTrE1hzXNMTnJR9hzwcHZG5OJLH6N1k4mRkhtxc=; b=aFdM52dRG4AuBaXPdKX5hBiCPgrZRVtPwEcEtMtAHELda/+PlR60k/FJ8COK10QYBW f2bX8gEbVmUbHcUvb4A8fKh2RRTiQ1jht0TsbmonxuIIcXFO/6Z8fFivq0p59wPxP8Y4 sSP5qotLK1Xn3o3ztpzjq4fRC068Anmk+8OcfdrkMkYAw+NeAfgvLnJ+TgF7GiFPFcf6 zeSHvg4U2iPTODyGrk8MByxiB8C1qzw6MRfS4uOoRGG/bU0uSZraHT6ecmOhHFdDdyK9 8aMbSqurtA3kXpH4UrKV8eA3jN/EnJhoS071cYS6ZrT++mLphqec7hy6yhxFM8Srl2FL nwbw== X-Gm-Message-State: AAQBX9f5v8d6YqrU3s7cZxM7MPjWxlWPU/L+NbViXpeEufJhdk6AqA/m DDCIWfID57SK/doeYT3cXC8ofAgBLEr8cErewECPsw== X-Received: by 2002:a50:9fef:0:b0:4fc:1608:68c8 with SMTP id c102-20020a509fef000000b004fc160868c8mr10756114edf.1.1680148938164; Wed, 29 Mar 2023 21:02:18 -0700 (PDT) MIME-Version: 1.0 References: <20230329-dt-cpu-header-cleanups-v1-0-581e2605fe47@kernel.org> <20230329-dt-cpu-header-cleanups-v1-16-581e2605fe47@kernel.org> In-Reply-To: <20230329-dt-cpu-header-cleanups-v1-16-581e2605fe47@kernel.org> From: Anup Patel Date: Thu, 30 Mar 2023 09:32:06 +0530 Message-ID: Subject: Re: [PATCH 16/19] cpuidle: 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 , 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: quoted-printable X-Spam-Status: No, score=0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 9:22=E2=80=AFPM 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, > cpuhotplug.h, of.h, and of_platform.h) and drop including of_device.h. > > Signed-off-by: Rob Herring For cpuidle-riscv-sbi.c Acked-by: Anup Patel Regards, Anup > --- > Please ack and I will take the series via the DT tree. > --- > drivers/cpuidle/cpuidle-psci.c | 1 - > drivers/cpuidle/cpuidle-qcom-spm.c | 3 +-- > drivers/cpuidle/cpuidle-riscv-sbi.c | 2 +- > drivers/cpuidle/dt_idle_states.c | 1 - > 4 files changed, 2 insertions(+), 5 deletions(-) > > diff --git a/drivers/cpuidle/cpuidle-psci.c b/drivers/cpuidle/cpuidle-psc= i.c > index 6de027f9f6f5..bf68920d038a 100644 > --- a/drivers/cpuidle/cpuidle-psci.c > +++ b/drivers/cpuidle/cpuidle-psci.c > @@ -16,7 +16,6 @@ > #include > #include > #include > -#include > #include > #include > #include > diff --git a/drivers/cpuidle/cpuidle-qcom-spm.c b/drivers/cpuidle/cpuidle= -qcom-spm.c > index c6e2e91bb4c3..1fc9968eae19 100644 > --- a/drivers/cpuidle/cpuidle-qcom-spm.c > +++ b/drivers/cpuidle/cpuidle-qcom-spm.c > @@ -11,8 +11,7 @@ > #include > #include > #include > -#include > -#include > +#include > #include > #include > #include > diff --git a/drivers/cpuidle/cpuidle-riscv-sbi.c b/drivers/cpuidle/cpuidl= e-riscv-sbi.c > index be383f4b6855..ae0b838a0634 100644 > --- a/drivers/cpuidle/cpuidle-riscv-sbi.c > +++ b/drivers/cpuidle/cpuidle-riscv-sbi.c > @@ -8,6 +8,7 @@ > > #define pr_fmt(fmt) "cpuidle-riscv-sbi: " fmt > > +#include > #include > #include > #include > @@ -15,7 +16,6 @@ > #include > #include > #include > -#include > #include > #include > #include > diff --git a/drivers/cpuidle/dt_idle_states.c b/drivers/cpuidle/dt_idle_s= tates.c > index 02aa0b39af9d..12fec92a85fd 100644 > --- a/drivers/cpuidle/dt_idle_states.c > +++ b/drivers/cpuidle/dt_idle_states.c > @@ -14,7 +14,6 @@ > #include > #include > #include > -#include > > #include "dt_idle_states.h" > > > -- > 2.39.2 >