commit | 239552f495b91fc8f3fba4b5094233e053d265cb | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Sun Oct 16 17:06:20 2016 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Fri Dec 09 21:54:20 2016 -0800 |
tree | 956132667566b4ea6210e583f5effc2dde1bdccf | |
parent | af1bd36c06b5fad33baa7ee16820226efbd96cd9 [diff] |
hwmon: (core) Make is_visible callback truly mandatory The is_visible callback provides the sysfs attribute mode and is thus truly mandatory as documented. Check it once at registration and remove other checks for its existence. Signed-off-by: Guenter Roeck <linux@roeck-us.net>