Re: [RFC PATCH 1/7] pwm: rename the PWM_POLARITY_INVERSED enum

From: Claudiu.Beznea
Date: Tue Mar 17 2020 - 12:26:58 EST




On 17.03.2020 14:32, Oleksandr Suvorov wrote:
> @@ -187,7 +187,7 @@ static ssize_t polarity_store(struct device *child,
> if (sysfs_streq(buf, "normal"))
> polarity = PWM_POLARITY_NORMAL;
> else if (sysfs_streq(buf, "inversed"))

You may also consider this string ^

> - polarity = PWM_POLARITY_INVERSED;
> + polarity = PWM_POLARITY_INVERTED;