pwm: Use -EINVAL for unsupported polarity
Instead of using a mix of -EOPNOTSUPP and -ENOTSUPP, use the more standard -EINVAL to signal that the specified polarity value was invalid. Acked-by:Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Thierry Reding <thierry.reding@gmail.com>
Showing
Please register or sign in to comment