summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorJonghwa Lee <jonghwa3.lee@samsung.com>2013-10-11 22:25:13 +0900
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:44:56 +0900
commit1cd0e18276a2296dbde04b6d0d1c112a06e8e7f2 (patch)
treef01a2dc04c2afbb39e7177086d1b6b7023d2acd1 /drivers/power
parent78003936ca7182239d85b8c06c9c9374e74eba29 (diff)
downloadlinux-3.10-1cd0e18276a2296dbde04b6d0d1c112a06e8e7f2.tar.gz
linux-3.10-1cd0e18276a2296dbde04b6d0d1c112a06e8e7f2.tar.bz2
linux-3.10-1cd0e18276a2296dbde04b6d0d1c112a06e8e7f2.zip
charger-manager : Make charge_now node under batter sysfs directory.
CHARGE_NOW property has beed used in wrong way, it should be fixed as it is planned initially. But for now, we just leave it for upper layer (e.g. OAL) for a while. Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/charger-manager.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/power/charger-manager.c b/drivers/power/charger-manager.c
index 7946b8a0abd..2d5867d22b9 100644
--- a/drivers/power/charger-manager.c
+++ b/drivers/power/charger-manager.c
@@ -911,9 +911,14 @@ static enum power_supply_property default_charger_props[] = {
POWER_SUPPLY_PROP_CAPACITY,
POWER_SUPPLY_PROP_ONLINE,
POWER_SUPPLY_PROP_CHARGE_FULL,
+
+ /* FIXME : 20131011
+ * This property has been used in wrong way.
+ * It'll be fixed sooner to it's original purpose.
+ */
+ POWER_SUPPLY_PROP_CHARGE_NOW,
/*
* Optional properties are:
- * POWER_SUPPLY_PROP_CHARGE_NOW,
* POWER_SUPPLY_PROP_CURRENT_NOW,
* POWER_SUPPLY_PROP_TEMP, and
* POWER_SUPPLY_PROP_TEMP_AMBIENT,