Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242575
b: refs/heads/master
c: 0e9f304
h: refs/heads/master
i:
  242573: 4657f6c
  242571: 3022092
  242567: 0f5aea3
  242559: c88e064
v: v3
  • Loading branch information
Lars-Peter Clausen committed Feb 22, 2011
1 parent a1d9ac1 commit 9397d4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 5661f334e8a53848552c8763f3bd63d0672b2e7b
refs/heads/master: 0e9f30497e88600ba52013665270f543bb94f0d8
2 changes: 1 addition & 1 deletion trunk/drivers/power/bq27x00_battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ static int bq27x00_battery_temperature(struct bq27x00_device_info *di)
if (di->chip == BQ27500)
return temp - 2731;
else
return ((temp >> 2) - 273) * 10;
return ((temp * 5) - 5463) / 2;
}

/*
Expand Down

0 comments on commit 9397d4b

Please sign in to comment.