From: Henrique de Moraes Holschuh Date: Thu, 19 Jul 2007 02:45:48 +0000 (-0300) Subject: ACPI: thinkpad-acpi: add locking to brightness subdriver X-Git-Tag: v2.6.23-rc1~17^2~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f432255e936a892a6896e5032e2b4897423076f2;p=pandora-kernel.git 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 Signed-off-by: Len Brown --- Reading git-diff-tree failed