aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/power_supply_sysfs.c
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:08:42 +0100
commitdc02054064e50b34c724e3bb546d1dc2513f3fca (patch)
tree141c2cf74efc012d461c048af2b188b6a75480dc /drivers/power/power_supply_sysfs.c
parenta88f2dd73da9c85335168f0b3a5a88657ab66da1 (diff)
downloadkernel_samsung_smdk4412-dc02054064e50b34c724e3bb546d1dc2513f3fca.zip
kernel_samsung_smdk4412-dc02054064e50b34c724e3bb546d1dc2513f3fca.tar.gz
kernel_samsung_smdk4412-dc02054064e50b34c724e3bb546d1dc2513f3fca.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 'drivers/power/power_supply_sysfs.c')
-rw-r--r--drivers/power/power_supply_sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/power_supply_sysfs.c b/drivers/power/power_supply_sysfs.c
index a647e74..a5235ab 100644
--- a/drivers/power/power_supply_sysfs.c
+++ b/drivers/power/power_supply_sysfs.c
@@ -42,7 +42,7 @@ static ssize_t power_supply_show_property(struct device *dev,
struct device_attribute *attr,
char *buf) {
static char *type_text[] = {
- "Unknown", "Battery", "UPS", "Mains", "USB",
+ "Battery", "UPS", "Mains", "USB",
"USB_DCP", "USB_CDP", "USB_ACA",
"DOCK", "MISC", "WIRELESS", "OTG"
};