rk30:phone: the bug of charge_display
author许盛飞 <xsf@rock-chips.com>
Mon, 9 Jul 2012 12:01:42 +0000 (20:01 +0800)
committer许盛飞 <xsf@rock-chips.com>
Mon, 9 Jul 2012 12:01:42 +0000 (20:01 +0800)
drivers/power/twl6030_bci_battery.c [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index 788fd98..7deb26c
@@ -2066,7 +2066,7 @@ static int twl6030_bk_bci_battery_get_property(struct power_supply *psy,
                                        union power_supply_propval *val)
 {
        struct twl6030_bci_device_info *di = to_twl6030_bk_bci_device_info(psy);
-
+       val->intval = 0;        
        switch (psp) {
        case POWER_SUPPLY_PROP_VOLTAGE_NOW:
                val->intval = di->bk_voltage_mV * 1000;