power_supply: Register battery as a thermal zone
authorJenny TC <jenny.tc@intel.com>
Wed, 9 May 2012 15:06:47 +0000 (20:36 +0530)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Mon, 18 Jun 2012 04:25:39 +0000 (21:25 -0700)
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>

No differences found