[PATCH v3 04/20] thermal/core: Use the thermal zone 'devdata' accessor in remaining drivers

Damien Le Moal damien.lemoal at opensource.wdc.com
Sun Feb 26 14:59:06 PST 2023


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 <daniel.lezcano at linaro.org>
> Acked-by: Mark Brown <broonie at kernel.org>
> Reviewed-by: Ido Schimmel <idosch at nvidia.com> #mlxsw
> Acked-by: Gregory Greenman <gregory.greenman at intel.com> #iwlwifi
> Acked-by: Sebastian Reichel <sebastian.reichel at collabora.com> #power_supply
> Acked-by: Rafael J. Wysocki <rafael.j.wysocki at intel.com>

For the ahci change:

Acked-by: Damien Le Moal <damien.lemoal at opensource.wdc.com>

-- 
Damien Le Moal
Western Digital Research




More information about the linux-arm-kernel mailing list