[PATCH v2 01/14] thermal/core: Change thermal_zone_ops to thermal_sensor_ops

Andy Shevchenko andriy.shevchenko at linux.intel.com
Sun May 8 03:26:21 PDT 2022


On Sat, May 07, 2022 at 02:54:29PM +0200, Daniel Lezcano wrote:
> A thermal zone is software abstraction of a sensor associated with
> properties and cooling devices if any.
> 
> The fact that we have thermal_zone and thermal_zone_ops mixed is
> confusing and does not clearly identify the different components
> entering in the thermal management process. A thermal zone appears to
> be a sensor while it is not.
> 
> In order to set the scene for multiple thermal sensors aggregated into
> a single thermal zone. Rename the thermal_zone_ops to
> thermal_sensor_ops, that will appear clearyl the thermal zone is not a
> sensor but an abstraction of one [or multiple] sensor(s).

Acked-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
for whatever drivers in this series I have somehow been involved into.

-- 
With Best Regards,
Andy Shevchenko





More information about the linux-arm-kernel mailing list