projects
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Merge git://git.infradead.org/users/cbou/battery-2.6.35
[linux-2.6.git]
/
drivers
/
power
/
ds2782_battery.c
diff --git
a/drivers/power/ds2782_battery.c
b/drivers/power/ds2782_battery.c
index
9b3b4b7
..
84d3c43
100644
(file)
--- a/
drivers/power/ds2782_battery.c
+++ b/
drivers/power/ds2782_battery.c
@@
-162,7
+162,7
@@
static int ds2782_get_capacity(struct ds278x_info *info, int *capacity)
if (err)
return err;
*capacity = raw;
- return raw;
+ return 0;
}
static int ds2786_get_current(struct ds278x_info *info, int *current_uA)