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

From: Guenter Roeck
Date: Sat Nov 23 2013 - 14:03:35 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/