power_supply: Register power supply for thermal cooling device
authorRamakrishna Pallala <ramakrishna.pallala@intel.com>
Tue, 9 Oct 2012 16:55:59 +0000 (22:25 +0530)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Sun, 18 Nov 2012 04:32:33 +0000 (20:32 -0800)
commit952aeeb3ee28bc12a70744e40636de40688eb60d
tree4690ab3549e59edee53e24df60f33295f96c0359
parentea2ce92e44dc83b7a69c2aedd9c52bfe7fee1a62
power_supply: Register power supply for thermal cooling device

This patch registers the power supply as a cooling device if the power
supply has support for charge throttling.

Now with this change low level drivers need not register with thermal
framework as it is automatically done by power supply framework.

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
drivers/power/power_supply_core.c
include/linux/power_supply.h
This page took 0.046005 seconds and 5 git commands to generate.