thermal/x86_pkg_temp_thermal: Use Intel TCC library
authorZhang Rui <rui.zhang@intel.com>
Mon, 19 Dec 2022 15:46:19 +0000 (23:46 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 30 Dec 2022 18:57:38 +0000 (19:57 +0100)
commit983eb370cb871bd843a8a7da01da6c4b38871309
tree1dee186caddb068d30c8cee809a7fa2f1f161b38
parent4e3ecc2898fe0b42177cd7bb4d38088b4829ef45
thermal/x86_pkg_temp_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/Kconfig
drivers/thermal/intel/x86_pkg_temp_thermal.c