diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2023-07-11 09:13:34 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-07-28 09:26:24 +0100 |
commit | cadb2de2a7fd9e955381307de3eddfcc386c208e (patch) | |
tree | 00a9de7f20fcb4a8a724d3ddeb47e692f8b325ca /Documentation/devicetree/bindings/leds | |
parent | 51c8be0c58a73ac243515516f349d44090c54e9b (diff) |
leds: pwm: Fix error code in led_pwm_create_fwnode()
Negative -EINVAL was intended, not positive EINVAL. Fix it.
Fixes: 95138e01275e ("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>
Diffstat (limited to 'Documentation/devicetree/bindings/leds')
0 files changed, 0 insertions, 0 deletions