Searched hist:"8289 d810ea85755a9d22f75785806cb34eecd5e5" (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/thermal/ |
H A D | thermal_helpers.c | diff 8289d810ea85755a9d22f75785806cb34eecd5e5 Tue Aug 22 06:40:06 CDT 2023 Rafael J. Wysocki <rafael.j.wysocki@intel.com> thermal: core: Rework .get_trend() thermal zone callback
Passing a struct thermal_trip pointer instead of a trip index to the .get_trend() thermal zone callback allows one of its 2 implementations, the thermal_get_trend() function in the ACPI thermal driver, to be simplified quite a bit, and the other implementation of it in the ti-soc-thermal driver does not even use the relevant callback argument.
For this reason, change the .get_trend() thermal zone callback definition and adjust the related code accordingly.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|
H A D | thermal_core.h | diff 8289d810ea85755a9d22f75785806cb34eecd5e5 Tue Aug 22 06:40:06 CDT 2023 Rafael J. Wysocki <rafael.j.wysocki@intel.com> thermal: core: Rework .get_trend() thermal zone callback
Passing a struct thermal_trip pointer instead of a trip index to the .get_trend() thermal zone callback allows one of its 2 implementations, the thermal_get_trend() function in the ACPI thermal driver, to be simplified quite a bit, and the other implementation of it in the ti-soc-thermal driver does not even use the relevant callback argument.
For this reason, change the .get_trend() thermal zone callback definition and adjust the related code accordingly.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|
/openbmc/linux/drivers/thermal/ti-soc-thermal/ |
H A D | ti-thermal-common.c | diff 8289d810ea85755a9d22f75785806cb34eecd5e5 Tue Aug 22 06:40:06 CDT 2023 Rafael J. Wysocki <rafael.j.wysocki@intel.com> thermal: core: Rework .get_trend() thermal zone callback
Passing a struct thermal_trip pointer instead of a trip index to the .get_trend() thermal zone callback allows one of its 2 implementations, the thermal_get_trend() function in the ACPI thermal driver, to be simplified quite a bit, and the other implementation of it in the ti-soc-thermal driver does not even use the relevant callback argument.
For this reason, change the .get_trend() thermal zone callback definition and adjust the related code accordingly.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|
/openbmc/linux/drivers/acpi/ |
H A D | thermal.c | diff 8289d810ea85755a9d22f75785806cb34eecd5e5 Tue Aug 22 06:40:06 CDT 2023 Rafael J. Wysocki <rafael.j.wysocki@intel.com> thermal: core: Rework .get_trend() thermal zone callback
Passing a struct thermal_trip pointer instead of a trip index to the .get_trend() thermal zone callback allows one of its 2 implementations, the thermal_get_trend() function in the ACPI thermal driver, to be simplified quite a bit, and the other implementation of it in the ti-soc-thermal driver does not even use the relevant callback argument.
For this reason, change the .get_trend() thermal zone callback definition and adjust the related code accordingly.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|
/openbmc/linux/include/linux/ |
H A D | thermal.h | diff 8289d810ea85755a9d22f75785806cb34eecd5e5 Tue Aug 22 06:40:06 CDT 2023 Rafael J. Wysocki <rafael.j.wysocki@intel.com> thermal: core: Rework .get_trend() thermal zone callback
Passing a struct thermal_trip pointer instead of a trip index to the .get_trend() thermal zone callback allows one of its 2 implementations, the thermal_get_trend() function in the ACPI thermal driver, to be simplified quite a bit, and the other implementation of it in the ti-soc-thermal driver does not even use the relevant callback argument.
For this reason, change the .get_trend() thermal zone callback definition and adjust the related code accordingly.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|