summaryrefslogtreecommitdiff
path: root/drivers/thermal/intel/x86_pkg_temp_thermal.c
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2022-10-03 12:26:01 +0300
committerDaniel Lezcano <daniel.lezcano@kernel.org>2023-01-06 16:14:48 +0300
commit0d2d586a86e85f10bd8fe47c219024b14de280b8 (patch)
tree89b6640857d9b55bd8698c3febd3321b0cced60e /drivers/thermal/intel/x86_pkg_temp_thermal.c
parent9ddcb8098d1a517b03c9d49aeb278919e81ddda9 (diff)
downloadlinux-0d2d586a86e85f10bd8fe47c219024b14de280b8.tar.xz
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
Diffstat (limited to 'drivers/thermal/intel/x86_pkg_temp_thermal.c')
0 files changed, 0 insertions, 0 deletions