Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350599
b: refs/heads/master
c: bde83b9
h: refs/heads/master
i:
  350597: 6710407
  350595: 36de686
  350591: 850b27c
v: v3
  • Loading branch information
NeilBrown authored and Anton Vorontsov committed Jan 6, 2013
1 parent 906dc73 commit aaf199b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a05be99174edc9f258ee68140b71b9645ad977ee
refs/heads/master: bde83b9a6b44c1e0fd872e57ecc869cfcf88538f
2 changes: 0 additions & 2 deletions trunk/drivers/power/bq27x00_battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,6 @@ static void bq27x00_update(struct bq27x00_device_info *di)
cache.temperature = bq27x00_battery_read_temperature(di);
if (!is_bq27425)
cache.cycle_count = bq27x00_battery_read_cyct(di);
cache.cycle_count = bq27x00_battery_read_cyct(di);
cache.power_avg =
bq27x00_battery_read_pwr_avg(di, BQ27x00_POWER_AVG);

Expand Down Expand Up @@ -696,7 +695,6 @@ static int bq27x00_powersupply_init(struct bq27x00_device_info *di)
int ret;

di->bat.type = POWER_SUPPLY_TYPE_BATTERY;
di->chip = BQ27425;
if (di->chip == BQ27425) {
di->bat.properties = bq27425_battery_props;
di->bat.num_properties = ARRAY_SIZE(bq27425_battery_props);
Expand Down

0 comments on commit aaf199b

Please sign in to comment.