Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 367469
b: refs/heads/master
c: 6427761
h: refs/heads/master
i:
  367467: 517af80
v: v3
  • Loading branch information
Hakan Berg authored and Lee Jones committed Mar 7, 2013
1 parent bbda1bb commit a535e5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 908fe8d6a575e2bdf349ba8635b862eeb91f7ade
refs/heads/master: 642776182c2412739f433d84da0ab8872a0509a8
6 changes: 2 additions & 4 deletions trunk/drivers/power/ab8500_fg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1354,9 +1354,6 @@ static void ab8500_fg_check_capacity_limits(struct ab8500_fg *di, bool init)
* algorithm says.
*/
di->bat_cap.prev_percent = 1;
di->bat_cap.permille = 1;
di->bat_cap.prev_mah = 1;
di->bat_cap.mah = 1;
percent = 1;

changed = true;
Expand Down Expand Up @@ -1768,9 +1765,10 @@ static void ab8500_fg_algorithm(struct ab8500_fg *di)
ab8500_fg_algorithm_discharging(di);
}

dev_dbg(di->dev, "[FG_DATA] %d %d %d %d %d %d %d %d %d "
dev_dbg(di->dev, "[FG_DATA] %d %d %d %d %d %d %d %d %d %d "
"%d %d %d %d %d %d %d\n",
di->bat_cap.max_mah_design,
di->bat_cap.max_mah,
di->bat_cap.mah,
di->bat_cap.permille,
di->bat_cap.level,
Expand Down

0 comments on commit a535e5b

Please sign in to comment.