Home
last modified time | relevance | path

Searched hist:"96 b8b436" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/thermal/
H A Dthermal_trip.c96b8b436 Mon Aug 07 13:11:07 CDT 2023 Rafael J. Wysocki <rafael.j.wysocki@intel.com> thermal: core: Rework and rename __for_each_thermal_trip()

Rework the currently unused __for_each_thermal_trip() to pass original
pointers to struct thermal_trip objects to the callback, so it can be
used for updating trip data (e.g. temperatures), rename it to
for_each_thermal_trip() and make it available to modular drivers.

Suggested-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
H A Dthermal_core.h96b8b436 Mon Aug 07 13:11:07 CDT 2023 Rafael J. Wysocki <rafael.j.wysocki@intel.com> thermal: core: Rework and rename __for_each_thermal_trip()

Rework the currently unused __for_each_thermal_trip() to pass original
pointers to struct thermal_trip objects to the callback, so it can be
used for updating trip data (e.g. temperatures), rename it to
for_each_thermal_trip() and make it available to modular drivers.

Suggested-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
/openbmc/linux/include/linux/
H A Dthermal.h96b8b436 Mon Aug 07 13:11:07 CDT 2023 Rafael J. Wysocki <rafael.j.wysocki@intel.com> thermal: core: Rework and rename __for_each_thermal_trip()

Rework the currently unused __for_each_thermal_trip() to pass original
pointers to struct thermal_trip objects to the callback, so it can be
used for updating trip data (e.g. temperatures), rename it to
for_each_thermal_trip() and make it available to modular drivers.

Suggested-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>