diff options
author | Holger Macht <hmacht@suse.de> | 2006-10-20 17:30:28 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-10-21 01:34:48 -0400 |
commit | 8acb025085aa88c41063bfa0f2c3b4d0a3f2ef11 (patch) | |
tree | 3bc37ab8a95ff4f5d1878c2fd2553b46a3e08d02 /drivers/acpi/asus_acpi.c | |
parent | c7a3bd177f248d01ee18a01d22048c80e071c331 (diff) |
ACPI: ibm_acpi: Add support for the generic backlight device
Add support for the generic backlight interface below /sys/class/backlight.
The patch keeps the procfs brightness handling for backward compatibility.
Add two generic functions brightness_get and brightness_set
to be used both by the procfs related and the sysfs related methods.
[apw@shadowen.org: backlight users need to select BACKLIGHT_CLASS_DEVICE]
Signed-off-by: Holger Macht <hmacht@suse.de>
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/asus_acpi.c')
0 files changed, 0 insertions, 0 deletions