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 3EA17C7EE2D for ; Fri, 3 Mar 2023 15:48:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231512AbjCCPsw convert rfc822-to-8bit (ORCPT ); Fri, 3 Mar 2023 10:48:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229740AbjCCPsq (ORCPT ); Fri, 3 Mar 2023 10:48:46 -0500 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C3A965BA; Fri, 3 Mar 2023 07:48:44 -0800 (PST) Received: from ip5b412258.dynamic.kabel-deutschland.de ([91.65.34.88] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pY7e6-0005wL-Hm; Fri, 03 Mar 2023 16:48:34 +0100 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: rafael@kernel.org, daniel.lezcano@linaro.org, Daniel Lezcano Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Niklas =?ISO-8859-1?Q?S=F6derlund?= , Florian Fainelli , Amit Kucheria , Zhang Rui , Broadcom internal kernel review list , Ray Jui , Scott Branden , Niklas =?ISO-8859-1?Q?S=F6derlund?= , Jernej Skrabec , Dhruva Gole , Stefan Wahren , Mark Brown , Baolin Wang , ye xingchen , "moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE" , "moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE" , "open list:RENESAS R-CAR THERMAL DRIVERS" , "open list:ARM/Rockchip SoC support" Subject: Re: [PATCH v5 07/18] thermal/hwmon: Do not set no_hwmon before calling thermal_add_hwmon_sysfs() Date: Fri, 03 Mar 2023 16:48:38 +0100 Message-ID: <1943849.usQuhbGJ8B@diego> In-Reply-To: <20230301201446.3713334-8-daniel.lezcano@linaro.org> References: <20230301201446.3713334-1-daniel.lezcano@linaro.org> <20230301201446.3713334-8-daniel.lezcano@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="iso-8859-1" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Mittwoch, 1. M?rz 2023, 21:14:35 CET schrieb Daniel Lezcano: > The thermal->tzp->no_hwmon parameter is only used when calling > thermal_zone_device_register(). > > Setting it to 'false' before calling thermal_add_hwmon_sysfs() has no > effect. > > Remove the call and again prevent the drivers to access the thermal > internals. > > Reviewed-by: Niklas S?derlund #R-Car > Signed-off-by: Daniel Lezcano > Acked-by: Florian Fainelli #Broadcom Acked-by: Heiko Stuebner #rockchip