From 1696d1deb05710f246f62e810034fb5d8d7713bd Mon Sep 17 00:00:00 2001 From: Guenter Roeck Date: Fri, 27 Mar 2015 06:03:41 -0700 Subject: [PATCH] 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 Signed-off-by: Guenter Roeck --- Reading git-format-patch failed