commit | a2f4dfba9e736ebe339d560cb92678280b1eb5db | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Fri Nov 22 22:07:57 2013 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 28 18:22:02 2013 -0500 |
tree | 9f3921385c40752e97622ca08f2a32f7d8bc4014 | |
parent | fe9d04afe9bee0ec37a9724937443b2c0e39ce4b [diff] |
tg3: Convert to use hwmon_device_register_with_groups Use new hwmon API to simplify code, provide missing mandatory 'name' sysfs attribute, and attach hwmon attributes to hwmon device instead of pci device. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Jean Delvare <khali@linux-fr.org> Acked-by: Nithin Nayak Sujir <nsujir@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>