Home
last modified time | relevance | path

Searched hist:"0 d2d586a86e85f10bd8fe47c219024b14de280b8" (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/thermal/intel/int340x_thermal/
H A Dint340x_thermal_zone.hdiff 0d2d586a86e85f10bd8fe47c219024b14de280b8 Mon Oct 03 11:26:01 CEST 2022 Daniel Lezcano <daniel.lezcano@linaro.org> thermal/intel/int340x: Replace parameter to simplify

In the process of replacing the get_trip_* ops by the generic trip
points, the current code has an 'override' property to add another
indirection to a different ops.

Rework this approach to prevent this indirection and make the code
ready for the generic trip points conversion.

Actually the get_temp() is different regarding the platform, so it is
pointless to add a new set of ops but just create dynamically the ops
at init time.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://lore.kernel.org/r/20221003092602.1323944-29-daniel.lezcano@linaro.org
H A Dint340x_thermal_zone.cdiff 0d2d586a86e85f10bd8fe47c219024b14de280b8 Mon Oct 03 11:26:01 CEST 2022 Daniel Lezcano <daniel.lezcano@linaro.org> thermal/intel/int340x: Replace parameter to simplify

In the process of replacing the get_trip_* ops by the generic trip
points, the current code has an 'override' property to add another
indirection to a different ops.

Rework this approach to prevent this indirection and make the code
ready for the generic trip points conversion.

Actually the get_temp() is different regarding the platform, so it is
pointless to add a new set of ops but just create dynamically the ops
at init time.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://lore.kernel.org/r/20221003092602.1323944-29-daniel.lezcano@linaro.org
H A Dprocessor_thermal_device.cdiff 0d2d586a86e85f10bd8fe47c219024b14de280b8 Mon Oct 03 11:26:01 CEST 2022 Daniel Lezcano <daniel.lezcano@linaro.org> thermal/intel/int340x: Replace parameter to simplify

In the process of replacing the get_trip_* ops by the generic trip
points, the current code has an 'override' property to add another
indirection to a different ops.

Rework this approach to prevent this indirection and make the code
ready for the generic trip points conversion.

Actually the get_temp() is different regarding the platform, so it is
pointless to add a new set of ops but just create dynamically the ops
at init time.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://lore.kernel.org/r/20221003092602.1323944-29-daniel.lezcano@linaro.org