On Tue, Oct 22, 2019 at 1:19 PM Wei Yongjun <weiyongjun1@xxxxxxxxxx> wrote: > PTR_ERR should access the value just tested by IS_ERR, otherwise > the wrong error code will be returned. > > Fixes: 97ab78bac5d0 ("power: supply: ab8500_charger: Convert to IIO ADC") > Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx> Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx> If Sebastian has pulled Jon's branch into his tree he can apply it in the power tree I suppose. Yours, Linus Walleij