From patchwork Wed Mar 29 15:52:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 13192778 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AD1C9C77B7A for ; Wed, 29 Mar 2023 15:54:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0f568lsvxa7GK61yvmGWa7dpCD8B0gEUbXY8o2Rek/k=; b=uelE+ArcwPKlAG mn2cWHyzyHMlRPpnlR7TFWmE4L/GF3yucU/iiQPnzR2wKtDhGETRUrJeH8i3HoH3HRk/nKnKtK1Z0 URq/EB4izs/kb1qXsn7/Fo2zyFAY8mDpw09FbEuGjIObjqWz8VkfAMqc0swGZmPASDD9mUZ+xzTU9 YlpH60JNnOAIqBf0VtWdSAH7LwlpoT8DRvshjM60LspuFdw5e3fyAZZrjnEO+FJoCjJawwEEUAL/T 6UE/pcHsqCVw8PxgFh8gJR4SmvGZQWYsj5zTMmNUMSybXBg8nvMMnxSbXNqPfQf7H04w0BHbEkM+1 Ro/t08LbUMFpjMSjrEgQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1phY7p-000tfF-14; Wed, 29 Mar 2023 15:54:13 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1phY7D-000t3T-0q; Wed, 29 Mar 2023 15:53:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=022ntgbo/qozcpOEnF6DlWHlLfWcIn+6VTfzUh5A9FY=; b=hUKr/nD5ay4RJHuscvkTQdPmD9 /Tu6BwTJOshI7mgReh8lYsAjP3ZfrGyodatU0kw5hIgNRN8S6+FW7tepC3W3RIqBz8qZIaC9qo5GI 28yVUE6ySaLVjt2k0tBi0BLEKRpchRcg/IeACTpLqpLARsaDyzQ6yfzdnHleF83MKk7CPzStE30xa +khEPtjQKpTJie1Z4dYEQ+QgockpIO67uUhTU+gRiPHjldz8sbeBq1RdK7VGHLGZHqaKjH0hITjTi OLoybl1wzykkR8ugcE/tB5K8yhf1AC7WDfoSf7nLXPdh6aZBr+1fJnN0Z6eqB4YPD12bxjRZMkqMm r3NsXUEw==; Received: from mail-oi1-f176.google.com ([209.85.167.176]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1phY79-006t48-2p; Wed, 29 Mar 2023 15:53:33 +0000 Received: by mail-oi1-f176.google.com with SMTP id r14so6243157oiw.12; Wed, 29 Mar 2023 08:53:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680105207; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=022ntgbo/qozcpOEnF6DlWHlLfWcIn+6VTfzUh5A9FY=; b=fZ8Ri6y0JgmTCiYjFX5GQTPhL0K+2yUWaSArKcrMNE6xTLD/AUAzEbgQv/kzwgQjga 3uKrQwKrbahvq7aBX4I722BjGH7WranyHFk522oxxBlu0uDiHYW9vwwDMJyPFT7GDXNa BwR11mWS0yPnQ/dhCFXaANHbWgj06Lhpa56IjKS4Ix+SAjIsvX7qDA7l4WkDANc37b6N WOOSEdnQTXWnPxliyskBDEUbKj6JDJh8s/bbkPb341BvO4XK4WmEmAA/GNQYiaRKj/ZG 6K6mQia672YNjGjlGQ7aWzmhGp2AX6otr0pHo1qvAyuQYtEOZuXYxV6XY/AlO2YZpgbh oXIg== X-Gm-Message-State: AO0yUKVCambFrnugQcyjLZgY5ZNzOrkJB3Mkg5bldG8iFgRa8/yG1pSi 6aabKQ+zUUaN0av3iPqQWA== X-Google-Smtp-Source: AK7set+mgwqrtp3sj8LCfLB0ZJyIWcTnGcbFer41ylAZRGD0ZYDF+G/GFDHWLU149fBQcrWXcPEKPQ== X-Received: by 2002:a05:6808:616:b0:386:db46:f6fb with SMTP id y22-20020a056808061600b00386db46f6fbmr8106850oih.17.1680105207535; Wed, 29 Mar 2023 08:53:27 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id l8-20020a056808020800b003874631e249sm8002092oie.36.2023.03.29.08.53.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 08:53:26 -0700 (PDT) Received: (nullmailer pid 3198085 invoked by uid 1000); Wed, 29 Mar 2023 15:52:45 -0000 From: Rob Herring Date: Wed, 29 Mar 2023 10:52:09 -0500 Subject: [PATCH 12/19] thermal: cpuidle_cooling: Adjust includes to remove of_device.h MIME-Version: 1.0 Message-Id: <20230329-dt-cpu-header-cleanups-v1-12-581e2605fe47@kernel.org> References: <20230329-dt-cpu-header-cleanups-v1-0-581e2605fe47@kernel.org> In-Reply-To: <20230329-dt-cpu-header-cleanups-v1-0-581e2605fe47@kernel.org> To: "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 Cc: 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 X-Mailer: b4 0.13-dev X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230329_165332_049629_8AF491A1 X-CRM114-Status: GOOD ( 12.91 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org 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 Acked-by: Rafael J. Wysocki Acked-by: Daniel Lezcano --- Please ack and I will take the series via the DT tree. --- drivers/thermal/cpuidle_cooling.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/thermal/cpuidle_cooling.c b/drivers/thermal/cpuidle_cooling.c index 4f41102e8b16..6f6daead485e 100644 --- a/drivers/thermal/cpuidle_cooling.c +++ b/drivers/thermal/cpuidle_cooling.c @@ -7,12 +7,13 @@ */ #define pr_fmt(fmt) "cpuidle cooling: " fmt +#include #include #include #include #include #include -#include +#include #include #include