On Mon, May 22, 2023 at 1:07 PM Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote: > This code accidentally return positive EINVAL instead of negative > -EINVAL. > > Fixes: eb41f334589d ("pwm: ab8500: Fix register offset calculation to not depend on probe order") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij