ACPI: thinkpad-acpi: add poll() support to some sysfs attributes
commit746124218d6f0f35f2825d8b20f6e566eec84ce7
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 28 Dec 2007 05:30:16 +0000 (28 03:30 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 26 Feb 2008 02:34:17 +0000 (25 23:34 -0300)
treea3a76dfac53993ed466cbc5b5c552dfa66984885
parent8e427876dcf4e250ff3b377a9fbc5548015d82df
ACPI: thinkpad-acpi: add poll() support to some sysfs attributes

Implement poll()/select() support through sysfs_notify() for some key
attributes which userspace might want to poll() or select() on.

In order to let userspace know poll()/select() support is available for an
attribute, the thinkpad-acpi sysfs interface version is also bumped up.
Further changes that add poll()/select() capabilities to any pre-existing
attributes will also increment the sysfs interface version.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Documentation/thinkpad-acpi.txt
drivers/misc/thinkpad_acpi.c