hwmon: (amc6821) Convert to devm_hwmon_device_register_with_groups
Guenter Roeck
AppliedQuoted 4 lines · Axel Lin
Use
ATTRIBUTE_GROUPSmacro anddevm_hwmon_device_register_with_groups()to simplify the code a bit.Signed-off-by Axel Lin <[email protected]>
Applied to -next.
Module testing finds a bug (unrelated to this patch): temp2_input should not be writable. Feel free to submit a patch if you have time ...
Thanks,
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors