power: pm8921-charger: decrease the index by 1 except for case 0
The purpose is to get index of [0..3] instead of [0..4].
Change-Id: I736312f04edbd889ac325fe8d0180f9a38c816ca
Signed-off-by:
Willie Ruan <wruan@codeaurora.org>
Loading
Please sign in to comment