[PATCH 0/5] hwmon updates for x86 platform drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux