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