diff options
author | Guenter Roeck <[email protected]> | 2013-11-27 18:54:31 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2013-11-29 16:26:16 -0500 |
commit | 85493e6dd42dcaf0eaf0a19f12f1295e35cc3b7f (patch) | |
tree | c6f26f8195e7e54301e71d3727a0c20142d2b08f /lib/test-string_helpers.c | |
parent | a0c20fb02592d372e744d1d739cda3e1b3defaae (diff) |
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 <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions