aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2019-10-21 12:49:37 -0500
committerSebastian Reichel <[email protected]>2019-10-27 22:33:07 +0100
commitf457055a7922154bb786e5d55f75b461fa645e9a (patch)
treee996a1de9216337a7b69e276d8ab412e9cde01c3 /lib/mpi/mpiutil.c
parente3da2ce04e120b4b035793f6eb87b459a505e88b (diff)
power: supply: ab8500_charger: Fix inconsistent IS_ERR and PTR_ERR
Fix inconsistent IS_ERR and PTR_ERR in ab8500_charger_probe(). The proper pointer to be passed as argument is di->adc_main_charger_c This bug was detected with the help of Coccinelle. Fixes: 97ab78bac5d0 ("power: supply: ab8500_charger: Convert to IIO ADC") Signed-off-by: Gustavo A. R. Silva <[email protected]> Reviewed-by: Signed-off-by: Wei Yongjun <[email protected]> Acked-by: Linus Walleij <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions