commit | 3be330bf8860dc6079da5acc81295787a04cf4c9 | [log] [tgz] |
---|---|---|
author | Jenny TC <jenny.tc@intel.com> | Wed May 09 20:36:47 2012 +0530 |
committer | Anton Vorontsov <cbouatmailru@gmail.com> | Sun Jun 17 21:25:39 2012 -0700 |
tree | 3d62ec1d5bcbfcee0d52f56a2193171785d3a569 | |
parent | 7dbae5562e86f2731d13bd2b8b3ea3f974f4b87d [diff] |
power_supply: Register battery as a thermal zone Battery and charger contribute to Thermals in most of the embedded devices. So, it makes sense to identify them as Thermal zones in a particular platform. This patch registers a thermal zone if the power supply is reporting a temperature property. The thermal zone will be used by platform's thermal management solution. Signed-off-by: Jenny TC <jenny.tc@intel.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>