Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
leds: pwm: Fix error code in led_pwm_create_fwnode()
[ Upstream commit cadb2de ] Negative -EINVAL was intended, not positive EINVAL. Fix it. Fixes: 95138e0 ("leds: pwm: Make error handling more robust") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/a33b981a-b2c4-4dc2-b00a-626a090d2f11@moroto.mountain Signed-off-by: Lee Jones <lee@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information