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 AA16DC7EE2D for ; Sun, 26 Feb 2023 22:56:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229972AbjBZW4g (ORCPT ); Sun, 26 Feb 2023 17:56:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229875AbjBZWzx (ORCPT ); Sun, 26 Feb 2023 17:55:53 -0500 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06C33193C8 for ; Sun, 26 Feb 2023 14:55:30 -0800 (PST) Received: by mail-wr1-x430.google.com with SMTP id bx12so1260100wrb.11 for ; Sun, 26 Feb 2023 14:55:29 -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=5G2AExiy4m1JD3VdlFvbqMiJd37t4DGUXITJCS9H4qI=; b=pxoj8LH76UCWOvpu+joi5qun8KjfDjYuYrKonUey/icQQfWFMlmNYyAej8zms6M7uk mv9HJqzgF+YBGkOjVLtdnOwYjzuYd4v6bUeha/htprPlI71Jdbe8zqqnpfkN/VpIxten JM+MXaFB5/z3Wf1cnGWro0y5lk85K4UCaG5hHOZRErsHoy2XrxMxwVybgLWfNKTyOBiP 2/d8s3Mqip6n5twohuw+QLZXQTP9T9IMFx1/I0AFj5XftbLSBCQBG8Ppv/9z96rddmqy Fuc5AQZ/YV/IH72ik+OWUERExy1ltUny6YLOLs//Pd/L/bygRji72EaIyrHpcgE5k6qf wJSA== 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=5G2AExiy4m1JD3VdlFvbqMiJd37t4DGUXITJCS9H4qI=; b=2KawCv/XAf7M7YckN8+SPOERH37Jj4K5jm8DkqnLEPiaHxxW5dqxCO3a0M/klb0YoD tquNUXpjkyWKl1+t+JPevo3OYVOXLEW99itArQgXe0z7hlNEPvx1n+EB4lgg0qhk7Hye v2qrCeuOhBqhuh8xAHh0kvXB5VPTjMbvc1tmiJ/tTUpokNgkw0JpFuLd85MFKPZtuH8L CfOTgHjXjfZdmu0axXVcOvQqwR6fzLN6kHr6PrUMROBazSuZAbhqKOOkG28kxNdzUiW2 oF1oG8iYFZvZF1ddorYtvtbUBDICm0zKZycj6WCGI0ZjaYd58pDTjWQIDT972fvw7SGg 6gBQ== X-Gm-Message-State: AO0yUKWPlhFIUOZU5IMxtm9+NMg7DE6H4DQErythoQnGZcwVoCfoCXo/ +n55IGregc5X8HnNocZr5CsjMA== X-Google-Smtp-Source: AK7set8wG5KNcUAuqYajmZYqUZzq90poXajeHyiBNdHj9Vb+RfJ3LGHzWpzNN3rlxKtj/jSPe9UU7A== X-Received: by 2002:adf:fc0e:0:b0:2c5:98f2:5b1d with SMTP id i14-20020adffc0e000000b002c598f25b1dmr16746929wrr.63.1677452117251; Sun, 26 Feb 2023 14:55:17 -0800 (PST) Received: from mai.box.freepro.com ([2a05:6e02:1041:c10:8baa:6b32:391b:62de]) by smtp.gmail.com with ESMTPSA id d10-20020a05600c3aca00b003eb369abd92sm6138074wms.2.2023.02.26.14.55.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Feb 2023 14:55:16 -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 v3 15/20] thermal/hwmon: Use the thermal_core.h header Date: Sun, 26 Feb 2023 23:54:01 +0100 Message-Id: <20230226225406.979703-16-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230226225406.979703-1-daniel.lezcano@linaro.org> References: <20230226225406.979703-1-daniel.lezcano@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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_hwmon.c index bc02095b314c..c59db17dddd6 100644 --- a/drivers/thermal/thermal_hwmon.c +++ b/drivers/thermal/thermal_hwmon.c @@ -17,6 +17,7 @@ #include #include "thermal_hwmon.h" +#include "thermal_core.h" /* hwmon sys I/F */ /* thermal zone devices with the same type share one hwmon device */ -- 2.34.1