aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2019-10-21 17:49:37 +0000
committerSebastian Reichel <[email protected]>2019-10-27 21:33:07 +0000
commitf457055a7922154bb786e5d55f75b461fa645e9a (patch)
treee996a1de9216337a7b69e276d8ab412e9cde01c3 /net/unix/af_unix.c
parentpower: supply: cpcap-charger: cpcap_charger_voltage_to_regval() can be static (diff)
downloadkernel-f457055a7922154bb786e5d55f75b461fa645e9a.tar.gz
kernel-f457055a7922154bb786e5d55f75b461fa645e9a.zip
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions