Thierry Reding 5a063d87e9 pwm: sysfs: Properly convert from enum to string
The current code will check for polarity in a boolean way. While it is
correct that polarity is either normal or inversed, make it more obvious
that it's an enumeration by using a switch statement and explicit
matches on the enumeration values.

Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
2015-07-27 12:03:37 +02:00
..
2015-07-20 09:46:06 +02:00
2014-11-17 12:20:13 +01:00
2015-07-20 09:46:06 +02:00
2015-01-30 12:16:01 +01:00