summaryrefslogtreecommitdiff
path: root/drivers/atm/suni.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2013-11-28 02:54:31 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-11-29 21:26:16 (GMT)
commit85493e6dd42dcaf0eaf0a19f12f1295e35cc3b7f (patch)
treec6f26f8195e7e54301e71d3727a0c20142d2b08f /drivers/atm/suni.c
parenta0c20fb02592d372e744d1d739cda3e1b3defaae (diff)
downloadlinux-85493e6dd42dcaf0eaf0a19f12f1295e35cc3b7f.tar.xz
sfc: Convert to use hwmon_device_register_with_groups
Simplify the code. Avoid race conditions caused by attributes being created after hwmon device registration. Implicitly (through hwmon API) add mandatory 'name' sysfs attribute. Reviewed-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm/suni.c')
0 files changed, 0 insertions, 0 deletions