hwmon updates for x86 platform drivers
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | asus-wmi: Convert to use devm_hwmon_device_register_with_groupsdrivers/ | +11 | 0 replies | |
| 2/5 | compal-laptop: Replace SENSOR_DEVICE_ATTR with DEVICE_ATTRdrivers/ | +33 | 0 replies | |
| 3/5 | compal-laptop: Use devm_kzalloc to allocate local data structuredrivers/ | +2 | 0 replies | |
| 4/5 | compal-laptop: Use devm_hwmon_device_register_with_groupsdrivers/ | +23 | 0 replies | |
| 5/5 | eeepc-laptop: Convert to use devm_hwmon_device_register_with_groupsdrivers/ | +10 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] hwmon updates for x86 platform drivers
Common changes:
- Convert to new hwmon API to simplify code and avoid race conditions due to late sysfs attribute registration.
With this change, hwmon sysfs attributes are now always attached to the hwmon device and no longer to its parent device (where this was the case).
- Replace SENSOR_DEVICE_ATTR with DEVICE_ATTR where appropriate, ie if the additional parameter provided by SENSOR_DEVICE_ATTR was not used.
- Use devm_kzalloc() instead of kzalloc() where appropriate to reduce code size and simplify error path.
All patches were compile tested only. Unfortunately, I don't have the necessary hardware to test on real systems.
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors