lkml.org 
[lkml]   [2020]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC PATCH 1/7] pwm: rename the PWM_POLARITY_INVERSED enum
Date


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;
\
 
 \ /
  Last update: 2020-03-17 17:27    [W:0.380 / U:2.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site