diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2007-07-18 23:45:48 -0300 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-07-21 23:50:51 -0400 |
commit | f432255e936a892a6896e5032e2b4897423076f2 (patch) | |
tree | ce32df538477acab984d079d6963e0261c0d7325 /drivers/serial/m32r_sio.c | |
parent | c78d5c96bb65b71a54b7551b404fbaf4763ed6e4 (diff) |
ACPI: thinkpad-acpi: add locking to brightness subdriver
The backlight class does all the locking needed for sysfs access, but
offers no API to interface to that locking without an layer violation.
Since we need to mutex-lock procfs access, implement in-driver locking for
brightness. It will go away the day thinkpad-acpi procfs goes away, or the
backlight class gives us a way to use its locks without a layer violation.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/serial/m32r_sio.c')
0 files changed, 0 insertions, 0 deletions