Skip to content
Commit 2d31757c authored by Ryan Mallon's avatar Ryan Mallon Committed by Anton Vorontsov
Browse files

ds2782_battery: Fix ds2782_get_capacity return value



The ds2782_get_capacity function should return 0 on success, not the
capacity value.

Signed-off-by: default avatarRyan Mallon <ryan@bluewatersys.com>
Signed-off-by: default avatarAnton Vorontsov <cbouatmailru@gmail.com>
parent 7e27d6e7
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