Commit 19f0f0af authored by Linus Torvalds's avatar Linus Torvalds
parents 620d0be8 2d31757c
...@@ -163,7 +163,7 @@ static int ds2782_get_capacity(struct ds278x_info *info, int *capacity) ...@@ -163,7 +163,7 @@ static int ds2782_get_capacity(struct ds278x_info *info, int *capacity)
if (err) if (err)
return err; return err;
*capacity = raw; *capacity = raw;
return raw; return 0;
} }
static int ds2786_get_current(struct ds278x_info *info, int *current_uA) static int ds2786_get_current(struct ds278x_info *info, int *current_uA)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment