From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 160FBC64ED6 for ; Sun, 26 Feb 2023 23:00:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=bLPwmvPg3ub/3RmpNW48laYs53a5fYLzStX83UUCWnI=; b=ryFM7ZFY33AMco Dn66KB4AWDNgivD7pvdBuCloXFP+a/cPv5e9HGMvVGxJXwnV1n3wZ7l3D2ObwKCaNYdg8+mZfDgVA 0ddKUGw5/SLhbTvd2Xk2Dcgm9kGB7VilgoRFMbr8PXpWgEDIEZjJxEvRurC0Mg3v6ZDm38E4N05gl BMwwj9qzgr9t/kab2TS7+v+NfstOXF15NU/pl2noQafOH2edVIZpK57NegfhbkShn5ozFgChKxLKP V6FqDLRHt3QGdWLW8L2rsy9PcKUnJ8B2g7as8SsUeeRtB/9tq1lnRQ8s9Z2wslr2/TcjOOCgoxoBI Z2vgH26Sv+7cP9GoSe/A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pWPzN-007yc5-4L; Sun, 26 Feb 2023 22:59:29 +0000 Received: from esa2.hgst.iphmx.com ([68.232.143.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pWPzH-007yZk-Ae for linux-arm-kernel@lists.infradead.org; Sun, 26 Feb 2023 22:59:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1677452363; x=1708988363; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=J9Xh3CSLaOh0wPb+8qljSocu9qIOGDzuCRuMHEY8zLA=; b=dG7h58YcNTWT3sZaAvUMnZ7dZXvHl9rWPxNjaB88tNcPI3s14epXqSVp hws/keW7iD8p3zTihxgh+1VwD/tupaf7iEIpT35Php+6GRmPbGFB57dPB mlAzgec03JBKlF6QSeJYDL8YIBNOiS+5cc3VAAfWEtVs3LE5LwswYhsZl MeoRYMRD7/Z/Y1925jsyCCK1yf+HcC8kf1IKGBAiuldS66i6wo95Tzn4W +kTz8xu/FIyRZ/gHgLM3Irx/1SNV7JOCfyLDrYAMWlPjAc3Bd6wEnG9A+ g/yCAi2zPuq5QOdcYPdYQYFhbPDNQ6C9rG84wFGDtzw4S1pcfGr/NSUnj g==; X-IronPort-AV: E=Sophos;i="5.97,330,1669046400"; d="scan'208";a="328578882" Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 27 Feb 2023 06:59:15 +0800 IronPort-SDR: 6YJfM4e3wWUPVjt4ar0/Wonqfq1o/DeEknlDIdNIR5x/uPu3+iHdtqlGL/qqf2dcgdLR+kVPEH zBL3IMlpKQk5zzB5UwhBIBSpK4L6RyJSCmu2ZOfM3TxdLQdKnqurXN28j7k2OeMy6e1AQdvePA KXuKKHxkpqbOOb7eKKF778Ke0Xr9qP9XCqXOBdO15XGp/U8eaW+G9Pmb1b49Ed+01XvKwuqtbU s1owNX14GPQJ4MangoiUr/384zngqY5TJG9qpSpK+y0qDKN3bnMgIWOcsJGZ0f850e4SCKBisk hw0= Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 26 Feb 2023 14:16:09 -0800 IronPort-SDR: lNhOMF/UL00qccGUws4xosVR3cO14dWWcYVaHnmxsO1kdoxl07qsrKbo9YHWRJkXoAl64zE1sO 7WVf/2170u0pjW5DMAVelUYOkKIL8nbX1pLDuzcvzTDJlfeiS0n8OXsIh7OBaSlHj1L17AfY7b sLIDKPcppx52cWDu120MRVIhaesswNBjptlv/uABCb5934tLCRHxtYIvcHs0fpG+Y6KnjPT9qc 8dIshTkJbndUwtqLYA0T8f1dviNxzAdPUnWr/gfkD285z8Dkx0fy5fBnc/aSRwOhTQ42qEz+OU sKM= WDCIronportException: Internal Received: from usg-ed-osssrv.wdc.com ([10.3.10.180]) by uls-op-cesaip02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 26 Feb 2023 14:59:16 -0800 Received: from usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTP id 4PPzb74CF2z1Rwtm for ; Sun, 26 Feb 2023 14:59:15 -0800 (PST) Authentication-Results: usg-ed-osssrv.wdc.com (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=opensource.wdc.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= opensource.wdc.com; h=content-transfer-encoding:content-type :in-reply-to:organization:from:references:to:content-language :subject:user-agent:mime-version:date:message-id; s=dkim; t= 1677452354; x=1680044355; bh=J9Xh3CSLaOh0wPb+8qljSocu9qIOGDzuCRu MHEY8zLA=; b=iAFv7gkoa1pp+0xeoFxAdTchRJcF7b5UmjXwypMYYaMEb+gXnhh i+xBLhRs7ybC6NKcaFw1srFUizSpMJeDj3DQb3u52D15SERUpb3qogMC05ahSV0Y Rfu9IKYjLO8ZUjHo834CD/sYRhYEslbVwDIEgc2ZmU1mFVQU7vxDbCob9DXmC60R A78dZnTzDMksnw3bnTzp+W8BcBYl0KqZEcYY13QB5+bS3Z0Bt7BmxsEweV82kybH cIMGUln2jO0hFnxaRlIQBZpOOvSZTLpgd3fHkasBzpalSwtP1irBSCNzj1UrwHzU e2IJ7N7AouJmgR9knygZsoS8VFPenj4hDWw== X-Virus-Scanned: amavisd-new at usg-ed-osssrv.wdc.com Received: from usg-ed-osssrv.wdc.com ([127.0.0.1]) by usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id q7vrLNngMTBm for ; Sun, 26 Feb 2023 14:59:14 -0800 (PST) Received: from [10.225.163.40] (unknown [10.225.163.40]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTPSA id 4PPzZz6V4Rz1RvLy; Sun, 26 Feb 2023 14:59:07 -0800 (PST) Message-ID: Date: Mon, 27 Feb 2023 07:59:06 +0900 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 v3 04/20] thermal/core: Use the thermal zone 'devdata' accessor in remaining drivers Content-Language: en-US To: Daniel Lezcano , rafael@kernel.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Brown , Ido Schimmel , Gregory Greenman , Sebastian Reichel , "Rafael J . Wysocki" , Zhang Rui , Len Brown , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Jonathan Cameron , Lars-Peter Clausen , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Dmitry Torokhov , Raju Rangoju , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Petr Machata , Kalle Valo , Sebastian Reichel , Liam Girdwood , "open list:ACPI THERMAL DRIVER" , "open list:LIBATA SUBSYSTEM (Serial and Parallel ATA drivers)" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "open list:IIO SUBSYSTEM AND DRIVERS" , "open list:ARM/Allwinner sunXi SoC support" , "open list:INPUT (KEYBOARD, MOUSE, JOYSTICK, TOUCHSCREEN)..." , "open list:CXGB4 ETHERNET DRIVER (CXGB4)" , "open list:INTEL WIRELESS WIFI LINK (iwlwifi)" References: <20230226225406.979703-1-daniel.lezcano@linaro.org> <20230226225406.979703-5-daniel.lezcano@linaro.org> From: Damien Le Moal Organization: Western Digital Research In-Reply-To: <20230226225406.979703-5-daniel.lezcano@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230226_145923_566744_DC56800F X-CRM114-Status: GOOD ( 15.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2/27/23 07:53, Daniel Lezcano wrote: > The thermal zone device structure is exposed to the different drivers > and obviously they access the internals while that should be > restricted to the core thermal code. > > In order to self-encapsulate the thermal core code, we need to prevent > the drivers accessing directly the thermal zone structure and provide > accessor functions to deal with. > > Use the devdata accessor introduced in the previous patch. > > No functional changes intended. > > Signed-off-by: Daniel Lezcano > Acked-by: Mark Brown > Reviewed-by: Ido Schimmel #mlxsw > Acked-by: Gregory Greenman #iwlwifi > Acked-by: Sebastian Reichel #power_supply > Acked-by: Rafael J. Wysocki For the ahci change: Acked-by: Damien Le Moal -- Damien Le Moal Western Digital Research _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel