summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm78.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2016-10-17 02:06:20 +0200
committerGuenter Roeck <linux@roeck-us.net>2016-12-10 06:54:20 +0100
commit239552f495b91fc8f3fba4b5094233e053d265cb (patch)
tree956132667566b4ea6210e583f5effc2dde1bdccf /drivers/hwmon/lm78.c
parenthwmon: (core) Deprecate hwmon_device_register() (diff)
downloadlinux-239552f495b91fc8f3fba4b5094233e053d265cb.tar.xz
linux-239552f495b91fc8f3fba4b5094233e053d265cb.zip
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>
Diffstat (limited to 'drivers/hwmon/lm78.c')
0 files changed, 0 insertions, 0 deletions