Skip to contentSkip to conversation

hwmon: (lm63) Convert to use devm_hwmon_device_register_with_groups

PATCH Applied Guenter Roeck 1 participant 1 message Feb 3, 2014

lore
Share & tools
lore
#0 lore raw

v2 cover hwmon: (lm63) Convert to use devm_hwmon_device_register_with_groups

The following patch series converts the lm63 driver to use devm_hwmon_device_register_with_groups. The change is split into three patches to simplify review.

With this series applied, object file size is reduced by ~1k.

v2: Split introduction of 'dev = &client->dev;' and its use into
a separate patch.
Do not merge temp2_type into extra_lut group but create separate group instead.
Associate log messages with hwmon device as much as possible. Retain original code where possible to reduce scope of changes; specifically do not drop local client variables.

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