Skip to contentSkip to conversation

hwmon: (adm1029) Convert to devm_hwmon_device_register_with_groups

PATCH Guenter Roeck 1 participant 1 message Jul 1, 2014

lore
Share & tools
lore

Guenter Roeck

author Applied
#0 lore raw
Quoted 4 lines · Axel Lin

Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to simplify the code a bit.

Applied to -next.

Turns out the driver has a minor bug, seen in module testing:
Writing to fanX_div does not clear the cache. As a result, reading from fanX_div may return the old value for up to two seconds after writing a new value. That is unrelated, of course.

Thanks,
Guenter

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors