From patchwork Mon Oct 9 21:13:45 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: 731322 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9AA8CCD6138 for ; Mon, 9 Oct 2023 21:15:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378814AbjJIVPB (ORCPT ); Mon, 9 Oct 2023 17:15:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378745AbjJIVOg (ORCPT ); Mon, 9 Oct 2023 17:14:36 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5E3D182; Mon, 9 Oct 2023 14:14:29 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A5B08C433CA; Mon, 9 Oct 2023 21:14:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696886069; bh=dIK0eztLKLhOrJx/1hv/oFxFtwcERv2fSJBqJLVAAEE=; h=From:To:Cc:Subject:Date:From; b=DecivvvwvlMRjoXnCEQrTvTknYTc7SczXSJvD0ipc6a6lbAbEtsyPBIAv4cMcUQd4 sVJxODgiIlIpGNzcpyz7LZ0JIXdMQ+Sx1sTxk18RPwHH9fYyPgtN/+YHMP9MS4YZHE w8JftZD+GXJIxiHEfNWFf/xahDskYHvvEJyOwDurwDdP2RZ4KrWSEKlRPP0cfpdoHC WPvRMAYcSqvMlm1Ce8BUYH3kp0GIzUKktU3NL8lVFi8GhGsjQV5fb3pjLLhuq7VdEv oPkpxgWQXO4OPKeblCdcWgu2Yc/WT+1BYYUgjJ0qav3tFWe2v+So5/vMj5ipQsMg8k 3ST+eTMeNF6fw== Received: (nullmailer pid 3246395 invoked by uid 1000); Mon, 09 Oct 2023 21:14:15 -0000 From: Rob Herring To: zhanghongchen , Yinbo Zhu , "Rafael J. Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] thermal: loongson2: Replace of_device.h with explicit includes Date: Mon, 9 Oct 2023 16:13:45 -0500 Message-ID: <20231009211356.3242037-15-robh@kernel.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org The DT of_device.h and of_platform.h date back to the separate of_platform_bus_type before it as merged into the regular platform bus. As part of that merge prepping Arm DT support 13 years ago, they "temporarily" include each other. They also include platform_device.h and of.h. of_device.h isn't needed, but mod_devicetable.h and property.h were implicitly included. Signed-off-by: Rob Herring --- drivers/thermal/loongson2_thermal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/thermal/loongson2_thermal.c b/drivers/thermal/loongson2_thermal.c index 133098dc0854..644596f5e3bb 100644 --- a/drivers/thermal/loongson2_thermal.c +++ b/drivers/thermal/loongson2_thermal.c @@ -8,9 +8,10 @@ #include #include #include +#include #include -#include #include +#include #include #include #include "thermal_hwmon.h"