thermal: intel_pch_thermal: Add suspend/resume callback
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Thu, 23 Jun 2016 22:02:46 +0000 (15:02 -0700)
committerZhang Rui <rui.zhang@intel.com>
Mon, 8 Aug 2016 02:54:55 +0000 (10:54 +0800)
commit176b1ec21306f0775e6d7a03f42d82a0b144ef0e
treed5622c9c0623fb656f8fa4be2820bd7b3e896cd7
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
thermal: intel_pch_thermal: Add suspend/resume callback

Added suspend/resume callback to disable/enable PCH thermal sensor
respectively. If the sensor is enabled by the BIOS, then the sensor status
will not be changed during suspend/resume.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/intel_pch_thermal.c