tg3: Convert to use hwmon_device_register_with_groups
authorGuenter Roeck <linux@roeck-us.net>
Sat, 23 Nov 2013 06:07:57 +0000 (22:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Nov 2013 23:22:02 +0000 (18:22 -0500)
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>

No differences found
This page took 0.025384 seconds and 5 git commands to generate.