diff options
author | Guenter Roeck <linux@roeck-us.net> | 2013-11-22 22:07:57 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-11-28 18:22:02 -0500 |
commit | a2f4dfba9e736ebe339d560cb92678280b1eb5db (patch) | |
tree | 9f3921385c40752e97622ca08f2a32f7d8bc4014 /net/netlink/genetlink.c | |
parent | fe9d04afe9bee0ec37a9724937443b2c0e39ce4b (diff) | |
download | blackbird-op-linux-a2f4dfba9e736ebe339d560cb92678280b1eb5db.tar.gz blackbird-op-linux-a2f4dfba9e736ebe339d560cb92678280b1eb5db.zip |
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>
Diffstat (limited to 'net/netlink/genetlink.c')
0 files changed, 0 insertions, 0 deletions