From: Holger Macht Date: Fri, 20 Oct 2006 21:30:28 +0000 (-0700) Subject: ACPI: ibm_acpi: Add support for the generic backlight device X-Git-Tag: v2.6.20-rc2~6^2~11^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8acb025085aa88c41063bfa0f2c3b4d0a3f2ef11;p=pandora-kernel.git 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 Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Len Brown --- Reading git-diff-tree failed