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 6D3D4C64ED8 for ; Mon, 27 Feb 2023 14:21:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230029AbjB0OVK (ORCPT ); Mon, 27 Feb 2023 09:21:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229896AbjB0OVI (ORCPT ); Mon, 27 Feb 2023 09:21:08 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36C411117D; Mon, 27 Feb 2023 06:21:07 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id DE5AF1FD65; Mon, 27 Feb 2023 14:21:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1677507665; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qo1xHDzz0CiE4GJBuWYj9nYsJQEDCtqAEvRS6B7iAe4=; b=ewwihNBjmlP04zDaw/bFnkHRxjYxUdPocGZlIdVj1yTYokIzLLeDxoJoZ20HErhiS0KtgL zI8eWzp82zHt8bcDYpTqTfnGlfIDyqug/Gy1VHhiIcV6lO933eTv9ID8HxZLA6yqMV1HYV //WZKY/w3TEzdd5Lv5xuVIDkViqDh24= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1677507665; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qo1xHDzz0CiE4GJBuWYj9nYsJQEDCtqAEvRS6B7iAe4=; b=eHh9HID6SBfx6LbPpi8zYdzUXHZJTZGDe4wSQW/lgeUSIWPyy72rmc+hsVgDkM+xSNXpsV gFqV8WhXtLesqrBw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 9075313912; Mon, 27 Feb 2023 14:21:05 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id PDSLIVG8/GO/BgAAMHmgww (envelope-from ); Mon, 27 Feb 2023 14:21:05 +0000 Date: Mon, 27 Feb 2023 15:21:04 +0100 From: Jean Delvare To: Daniel Lezcano Cc: rafael@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Guenter Roeck , Amit Kucheria , Zhang Rui Subject: Re: [PATCH v3 15/20] thermal/hwmon: Use the thermal_core.h header Message-ID: <20230227152104.4f901340@endymion.delvare> In-Reply-To: <20230226225406.979703-16-daniel.lezcano@linaro.org> References: <20230226225406.979703-1-daniel.lezcano@linaro.org> <20230226225406.979703-16-daniel.lezcano@linaro.org> Organization: SUSE Linux X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.34; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 26 Feb 2023 23:54:01 +0100, Daniel Lezcano wrote: > 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 */ Reviewed-by: Jean Delvare -- Jean Delvare SUSE L3 Support