From patchwork Mon Oct 30 13:51:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 159750 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:d641:0:b0:403:3b70:6f57 with SMTP id cy1csp2229260vqb; Mon, 30 Oct 2023 06:52:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHSSakd/eIoEDiMveac0xDFilhvv5QtT9GqyoOmFR9pfYSiSvR+6RuVZq5oP2uZaAo3dXkA X-Received: by 2002:a17:90a:6006:b0:27d:6937:db89 with SMTP id y6-20020a17090a600600b0027d6937db89mr8711464pji.43.1698673940380; Mon, 30 Oct 2023 06:52:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698673940; cv=none; d=google.com; s=arc-20160816; b=Mb2Ow0MVl0b9FOxU5LPtBaIIz1DKfx39+tOv6acskydw7GHE02PuagmT6PkYXI6xt+ AXCoMDq9N9G4DSLfdchKrF7Ezs+ZZMSHp3InejDBu/5IKw45FcfDOmW2IDgTu1hLxTqQ 5YW0wGgQaNHs7xoy6vylDq0C7tvxcF4aW6EhfPfBrhiUxbBCEZmRd5bW1QcPGG0huA8Q OYL09jkS7xnIupkK0WRSuQb8UIGobihziCh8UUYAw+PWdOdIUhigGJ4NIIBctFkHPV5l /deUNADEUlxUVny+XVYaI3Q+2Vd5RmfxcDikVAMQOUc7FqqcSQ++NfZT1HYEv1X5Hqca 1Ydg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=2DNw5hefDLTG0j4qbA4dW0wqpyWD+OlJB5Qqx3rsaXk=; fh=aft087ypmyuWLAiFLCg9/4m44Ee8nKgbN7XnW2tbgEw=; b=mkB58XsDMcdK/WAPXfRt03y96uH8P5myVhKxxfmnZXv0NKmdneuHwj8xtbUZ3zLyBz maZt6EoE7Ped3IyQuhS5Xx3C/3MDesN6MnhUGF9/lluLu27OdzLhS0k981egehN8eX6K QuPAAH6coK6b7FcdvixXFunph1rGeXVCKzakEfOsR8SLo2GKfjfdVe1tFh8VGzfW/uMw VT5Megu+oEr3B2SGVbW838WqvG5f1wdOVMYeQ8kzI7eTCEOvvKwMogDwcRm1wwCOq5JB YvIkaLzRHOJff+1PnLZe8IfnFIoIwgto4I5SnP0TGbm0wr8BpOPIlD9Qf/AZ8Yrtg9hc MREw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id ck8-20020a17090afe0800b0028024067027si3694945pjb.138.2023.10.30.06.52.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 06:52:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 4FA0F80A1490; Mon, 30 Oct 2023 06:52:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231919AbjJ3NwE (ORCPT + 31 others); Mon, 30 Oct 2023 09:52:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229537AbjJ3NwD (ORCPT ); Mon, 30 Oct 2023 09:52:03 -0400 Received: from mail-ot1-f48.google.com (mail-ot1-f48.google.com [209.85.210.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B24AA2; Mon, 30 Oct 2023 06:52:00 -0700 (PDT) Received: by mail-ot1-f48.google.com with SMTP id 46e09a7af769-6c4a25f6390so2994591a34.2; Mon, 30 Oct 2023 06:52:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698673920; x=1699278720; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2DNw5hefDLTG0j4qbA4dW0wqpyWD+OlJB5Qqx3rsaXk=; b=BQfNFG9Rss2f1v0QI9+rxqsp0s8PGILHBuGEailSNfhhjeib7PiFRvOwSMmbTw8Yim s2311zVEa29aiqcsYdFujOiVtMMmZQVIhKyqfAoxIdmIUSy6xyHBTC6nUv2swKtdKQz5 zfYxRzqhXmgA4v8A9/0QJh2F93HCl5bK43uvnu8P2MIH7mH8cwLunXXh4L3S9p52psqS hVFFeG+q2c4rRFe/+jPTMY75os3ZJtFr4BX1dsp2JPJ8BW1uTSrK8BPpskwAky9KuOr1 Gv6LCfexWjJXvVKP1BVSuJ4W2dsnHz8Er9u7gsUPdYxYjCCAHAc9i0mbOYPYXJ2tYJ34 KreA== X-Gm-Message-State: AOJu0YwuUqNBPDxi6cpKXxt5YORhJvqfUhpCvRsCBHdWeIYrnQyAgX45 HciwpcP9wjpmmbjqa9IXioLF2wSWeg== X-Received: by 2002:a05:6830:1111:b0:6c4:e507:3747 with SMTP id w17-20020a056830111100b006c4e5073747mr10361909otq.30.1698673919749; Mon, 30 Oct 2023 06:51:59 -0700 (PDT) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id t66-20020a4a5445000000b00581dd3eb895sm1804897ooa.37.2023.10.30.06.51.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 06:51:58 -0700 (PDT) Received: (nullmailer pid 773869 invoked by uid 1000); Mon, 30 Oct 2023 13:51:56 -0000 From: Rob Herring To: zhanghongchen , Yinbo Zhu , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RESEND PATCH] thermal: loongson2: Replace of_device.h with explicit includes Date: Mon, 30 Oct 2023 08:51:41 -0500 Message-ID: <20231030135142.773496-1-robh@kernel.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 30 Oct 2023 06:52:17 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781188725364701849 X-GMAIL-MSGID: 1781188725364701849 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"