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