From nobody Sat Sep 21 04:44:01 2024 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 BDCF9C64ED6 for ; Tue, 21 Feb 2023 18:10:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232341AbjBUSJn (ORCPT ); Tue, 21 Feb 2023 13:09:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230374AbjBUSI4 (ORCPT ); Tue, 21 Feb 2023 13:08:56 -0500 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1890D2E81A for ; Tue, 21 Feb 2023 10:08:08 -0800 (PST) Received: by mail-wm1-x335.google.com with SMTP id m25-20020a7bcb99000000b003e7842b75f2so1877208wmi.3 for ; Tue, 21 Feb 2023 10:08:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=xj/XCNr0kaZT/9prwrgZXIPale3VaDSnJ0X65XmdswI=; b=XwmPT1cE2nvf4O6nZ7Jcn9NWxEhhKq8cES62hT/lwPGstslb7e+KXTwdtqLIpS/oC9 85BpYqEiZBeZHZcLH3oDkBHB77rm1rcgoF8CPMGd1vqjzf2HmY0WbRObqvA1GKetsFX7 izGoLCvgO6LkZOue/YiPaKJFl4kXbNjk1b/MUA4aNu7wSa2Xafu+eZ8lMIFPiGal752x dRrg5LduwxleF3zrr3rduwHRbuPJUM1WBmo29emhxCpGPaGqmBKQ8KD3cpePQh1rEpWO X6uA95V4i+ZcxitasUAd0mJyjKOHgGqmTvQIkOEmcuUY1uD7XVlA8LuRnXTbtecaWvUx dsMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xj/XCNr0kaZT/9prwrgZXIPale3VaDSnJ0X65XmdswI=; b=XuxWK0y2eYDuNo83e0VnekyxBQqBytSaCI6CIW54sC8WfxQtsAQJ0fW4VmBxtTkQ+c O9+UMDyuOlVNpChTwIwK7DkrZAb4TlVkUwx2XrGfiQAhO0yrI9RJ7cidGx9/QdPYXPTN MehUr1NJOtd6O0G8Mh3vlm183crqQJvPt2ZN4KSNqUNfatPh1k9wH/7hTV8MmWbS6k1i zq3W9Fcw0AHWZ2VuGQIcM1JlS9+chlMbipKuLHIN1b/e74FlqUeC9MkDeHw0o9wb3qmU zKDlzwSqzQ8HLlV9dx24KYIzYmHKay6JjbG+h1YdTTvBkyOyTfZpYFhuV4Kou6aLsICI HUyA== X-Gm-Message-State: AO0yUKW9VhX0mvuQ0cw/gULQL/DOaw+pzoTOK366Ehux7HprnN4BwOQh krQjxDdLgAoFXQ0aj1xkkVMX6g== X-Google-Smtp-Source: AK7set+3j0fBOa8sEmacj7NTkstFaKrp6ySEpStMKmFaiEaZ62EbWgZAb8XrU6TzB+fa7X3/JWwQlA== X-Received: by 2002:a05:600c:1652:b0:3e1:12d1:fde0 with SMTP id o18-20020a05600c165200b003e112d1fde0mr4218250wmn.6.1677002885486; Tue, 21 Feb 2023 10:08:05 -0800 (PST) Received: from mai.box.freepro.com ([2a05:6e02:1041:c10:1e9:315c:bb40:e382]) by smtp.gmail.com with ESMTPSA id c128-20020a1c3586000000b003e21558ee9dsm5107815wma.2.2023.02.21.10.08.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 10:08:05 -0800 (PST) From: Daniel Lezcano To: rafael@kernel.org, daniel.lezcano@linaro.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Jean Delvare , Guenter Roeck , Amit Kucheria , Zhang Rui Subject: [PATCH v2 11/16] thermal/hwmon: Use the thermal_core.h header Date: Tue, 21 Feb 2023 19:07:05 +0100 Message-Id: <20230221180710.2781027-12-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230221180710.2781027-1-daniel.lezcano@linaro.org> References: <20230221180710.2781027-1-daniel.lezcano@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The thermal_hwmon is playing with the thermal core code internals. Changing the code would be too invasive for now. We can consider the thermal_hwmon.c is part of the thermal core code as it provides a glue to tie the hwmon and the thermal zones. Let's include the thermal_core.h header. No functional change intended. Cc: Jean Delvare Cc: Guenter Roeck Signed-off-by: Daniel Lezcano Acked-by: Guenter Roeck --- drivers/thermal/thermal_hwmon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thermal/thermal_hwmon.c b/drivers/thermal/thermal_hwmo= n.c index bc02095b314c..c59db17dddd6 100644 --- a/drivers/thermal/thermal_hwmon.c +++ b/drivers/thermal/thermal_hwmon.c @@ -17,6 +17,7 @@ #include =20 #include "thermal_hwmon.h" +#include "thermal_core.h" =20 /* hwmon sys I/F */ /* thermal zone devices with the same type share one hwmon device */ --=20 2.34.1