commit | 1696d1deb05710f246f62e810034fb5d8d7713bd | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Fri Mar 27 06:03:41 2015 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Mon Mar 30 08:12:16 2015 -0700 |
tree | d32b34bc5cc06f09b64e5cd96c27fb6513256f36 | |
parent | fcaf57b67dd03314ade476b847f246ae377160a8 [diff] |
hwmon: (it87) Fix pwm sysfs attribute removal Detection if a pwm channel is supported was wrong on removal, causing the code to try removing non-existing sysfs attributes. That didn't matter much because sysfs attribute removal of non-existing files fails silently, and because the wrong evaluation always returned false, but should nevertheless be fixed. Reviewed-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net>