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 9D3F5C61DA4 for ; Wed, 22 Feb 2023 09:48:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232287AbjBVJsQ (ORCPT ); Wed, 22 Feb 2023 04:48:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231801AbjBVJr4 (ORCPT ); Wed, 22 Feb 2023 04:47:56 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 227CC3A0BC; Wed, 22 Feb 2023 01:46:06 -0800 (PST) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id EC70766021A4; Wed, 22 Feb 2023 09:31:54 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1677058315; bh=z1nbc9uu0vOOIzAQoEiB9OWmVSYp4DkRy59rM1/bgZM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=eIQroP8mU2qOY/sCGOZpM1hWWFpg6TPZE8qebzrIl5+KS7KhafIXe6H4csJN8wt3t p82KITsZAWCBkbW4SJkuwaO06GJuY8nePV/2nJgVaA2SCFoPLo9kh/sOpTYgmsZj6Q JCxJuKmerXN9mWiC8bEn0rh9eCSvuN5wR+/BJZ5XIAyfqU2WReleKLbzSLIno/z9G/ 1QwqyKQoTlCAEG+ZN2eB2MCc0jrVZhlwMw5zrqwmEBPe4E1ov1IbcSBhf6r9N21Wmv u9J6Bh9IVxgsIG0t4uvGUWVrrqFGc/b8kXCMq0kaF2qxVssIlUjcX4lSCx24XI6jIx Y+OmtGXpXC/YA== Message-ID: <94b131f7-9a66-7e26-4f8f-9d84e2c90fbf@collabora.com> Date: Wed, 22 Feb 2023 10:31:52 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH v2 06/16] thermal: Don't use 'device' internal thermal zone structure field Content-Language: en-US To: Daniel Lezcano , rafael@kernel.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Balsam CHIHI , Amit Kucheria , Zhang Rui , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Eduardo Valentin , Keerthy , Matthias Brugger , Ido Schimmel , Mark Brown , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "open list:TI BANDGAP AND THERMAL DRIVER" , "moderated list:ARM/Mediatek SoC support" References: <20230221180710.2781027-1-daniel.lezcano@linaro.org> <20230221180710.2781027-7-daniel.lezcano@linaro.org> From: AngeloGioacchino Del Regno In-Reply-To: <20230221180710.2781027-7-daniel.lezcano@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Il 21/02/23 19:07, Daniel Lezcano ha scritto: > Some drivers are directly using the thermal zone's 'device' structure > field. > > Use the driver device pointer instead of the thermal zone device when > it is available. > > Remove the traces when they are duplicate with the traces in the core > code. > > Signed-off-by: Daniel Lezcano > Reviewed-by: Balsam CHIHI #Mediatek LVTS Reviewed-by: AngeloGioacchino Del Regno #MediaTek LVTS