aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/gpio-fan.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2013-07-06 13:57:23 -0700
committerGuenter Roeck <linux@roeck-us.net>2013-10-13 16:16:27 -0700
commitbab2243ce1897865e31ea6d59b0478391f51812b (patch)
treee443cded8a9e422e3bd21ecfb6b7331c9997dada /drivers/hwmon/gpio-fan.c
parenthwmon: (f71882fg) Remove extra return statement (diff)
downloadlinux-dev-bab2243ce1897865e31ea6d59b0478391f51812b.tar.xz
linux-dev-bab2243ce1897865e31ea6d59b0478391f51812b.zip
hwmon: Introduce hwmon_device_register_with_groups
hwmon_device_register_with_groups() lets callers register a hwmon device together with all sysfs attributes in a single call. When using hwmon_device_register_with_groups(), hwmon attributes are attached to the hwmon device directly and no longer with its parent device. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/gpio-fan.c')
0 files changed, 0 insertions, 0 deletions