power: qpnp-qg: Fix the return error check in QGauge
ADC reads over IIO return positive value on success.
Fix the return error check.
Change-Id: Ib8eb1ab3f7f9f3f0f3d5d717fc02b87669125556
Signed-off-by:
Anirudh Ghayal <aghayal@codeaurora.org>
Loading
Please register or sign in to comment