Skip to content

Commit

Permalink
Merge git://git.infradead.org/users/cbou/battery-2.6.35
Browse files Browse the repository at this point in the history
* git://git.infradead.org/users/cbou/battery-2.6.35:
  ds2782_battery: Fix ds2782_get_capacity return value
  • Loading branch information
Linus Torvalds committed Jul 20, 2010
2 parents 620d0be + 2d31757 commit 19f0f0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/power/ds2782_battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,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)
Expand Down

0 comments on commit 19f0f0a

Please sign in to comment.