power: pm8921-charger: Add error handling logic
Handle return errors at multiple locations and report them
appropriately. While at it, fix functions which can report
valid negative values.
CRs-Fixed: 389633
Change-Id: Ib3b8121d721d17bc9086decd94ee10239a2ec5f4
Signed-off-by:
Anirudh Ghayal <aghayal@codeaurora.org>
Loading
Please sign in to comment