power: qpnp-qg: Fix the error check for battery-temperature
IIO reads return 1 on success, fix the error handling for
battery temperature.
Change-Id: I38264c8d4c5ffaad1f831ffda0677fdc8b41b4d2
Signed-off-by:
Anirudh Ghayal <aghayal@codeaurora.org>
Loading
Please register or sign in to comment