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-03-20 17:41:02 +0900
commit663b0aae6d241969aa8e259567ecd5d9ecd37bea (patch)
tree56ce7a17f83844ab06e8f7bcf7a47ebfa1b15141 /drivers/power
parentb7de643be64702094fd6e360455a82d61c7f72b4 (diff)
downloadlinux-3.10-663b0aae6d241969aa8e259567ecd5d9ecd37bea.tar.gz
linux-3.10-663b0aae6d241969aa8e259567ecd5d9ecd37bea.tar.bz2
linux-3.10-663b0aae6d241969aa8e259567ecd5d9ecd37bea.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,