mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
pwm: ab8500: Fix error code in probe()
[ Upstream commitcdcffafc4d] This code accidentally return positive EINVAL instead of negative -EINVAL. Fixes:eb41f33458("pwm: ab8500: Fix register offset calculation to not depend on probe order") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Thierry Reding <thierry.reding@gmail.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
61aad933e5
commit
75439e6cd2
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue