aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRicardo Cerqueira <cyanogenmod@cerqueira.org>2013-09-19 18:35:39 +0100
committerRicardo Cerqueira <cyanogenmod@cerqueira.org>2013-09-19 19:07:36 +0100
commite531c03040b9ad3a86d3b751fb47b3362d85f373 (patch)
tree5e95bf1d99a6cf33c0e0f63427a6c5856e98c2c9 /include
parent1a05356029493b29f866cf04f7550243ef3ae687 (diff)
downloadkernel_samsung_smdk4412-e531c03040b9ad3a86d3b751fb47b3362d85f373.zip
kernel_samsung_smdk4412-e531c03040b9ad3a86d3b751fb47b3362d85f373.tar.gz
kernel_samsung_smdk4412-e531c03040b9ad3a86d3b751fb47b3362d85f373.tar.bz2
Revert "max77693: Standardize the output of the "online" property"
This reverts commit 1a05356029493b29f866cf04f7550243ef3ae687, the enumerator breakage introduced by change Iafbd9fb45253b02d539ac0ba114f57b3bf9eeed4 can be reverted cleanly without further impact and it's a cleaner fix Change-Id: I351c320f98691241fbe321a0b1ac54152802deb4
Diffstat (limited to 'include')
-rw-r--r--include/linux/power_supply.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h
index 566002b..529d981 100644
--- a/include/linux/power_supply.h
+++ b/include/linux/power_supply.h
@@ -129,8 +129,7 @@ enum power_supply_property {
};
enum power_supply_type {
- POWER_SUPPLY_TYPE_UNKNOWN = 0,
- POWER_SUPPLY_TYPE_BATTERY,
+ POWER_SUPPLY_TYPE_BATTERY = 0,
POWER_SUPPLY_TYPE_UPS,
POWER_SUPPLY_TYPE_MAINS,
POWER_SUPPLY_TYPE_USB, /* Standard Downstream Port */