Skip to content

hwmon: (lm63) Convert to use devm_hwmon_device_register_with_groups

Guenter Roeck lm-sensors 4 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 3/34 patches 4 repliesApplied
  2. v2 posting 2/31 patch 1 replyApplied
  3. v2 posting 1/31 patch 1 replyApplied
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch2 repliesSuperseded

Patches in v2 posting 3/3 Applied

#Subject and filesSizeRepliesApplied
1/4hwmon: (lm63) Add additional sysfs group for temp2_type attributedrivers/hwmon/lm63.c+13 -31 reply
2/4hwmon: (lm63) Introduce 'dev' variable to point to client->devdrivers/hwmon/lm63.c+16 -161 reply
3/4hwmon: (lm63) Create all sysfs groups in one calldrivers/hwmon/lm63.c+14 -281 reply
4/4hwmon: (lm63) Convert to use devm_hwmon_device_register_with_groupsdrivers/hwmon/lm63.c+40 -661 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [lm-sensors] [PATCH v2 0/4] 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