[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1385233401-21517-1-git-send-email-linux@roeck-us.net>
Date: Sat, 23 Nov 2013 11:03:16 -0800
From: Guenter Roeck <linux@...ck-us.net>
To: Matthew Garrett <matthew.garrett@...ula.com>
Cc: Corentin Chary <corentin.chary@...il.com>,
Cezary Jackiewicz <cezary.jackiewicz@...il.com>,
acpi4asus-user@...ts.sourceforge.net,
platform-driver-x86@...r.kernel.org, lm-sensors@...sensors.org,
linux-kernel@...r.kernel.org, Guenter Roeck <linux@...ck-us.net>
Subject: [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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists