ACPI: thinkpad-acpi: add poll() support to some sysfs attributes
commit9a8f2c8a3ad4655339d2a20276b4dee3a14a5ccb
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 28 Dec 2007 03:30:16 +0000 (28 01:30 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Mon, 11 Feb 2008 17:23:31 +0000 (11 15:23 -0200)
tree7ba128d430822c4620893aa6a7bad4068bb0f8f5
parentb01e6ffa648673891787c917120e9f0b5677c05f
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