提交 19f0f0af 编写于 作者: L Linus Torvalds
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册