thermal/int340x/processor_thermal: Use Intel TCC library
authorZhang Rui <rui.zhang@intel.com>
Mon, 19 Dec 2022 15:46:16 +0000 (23:46 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 30 Dec 2022 18:57:38 +0000 (19:57 +0100)
commitd91a4714e54e4ad4d6fe795339aae329f53b2217
treef4ea52af9d1fac278fc66adf054938ec9cea4c97
parenta3c1f066e1c514ac819f5dae288cc8a59c384158
thermal/int340x/processor_thermal: Use Intel TCC library

Cleanup the code by using Intel TCC library for TCC (Thermal Control
Circuitry) MSR access.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/intel/int340x_thermal/Kconfig
drivers/thermal/intel/int340x_thermal/processor_thermal_device.c