hwmon: Introduce hwmon_device_register_with_groups
authorGuenter Roeck <linux@roeck-us.net>
Sat, 6 Jul 2013 20:57:23 +0000 (13:57 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 13 Oct 2013 23:16:27 +0000 (16:16 -0700)
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>

No differences found