From: Holger Macht Date: Fri, 20 Oct 2006 21:30:29 +0000 (-0700) Subject: ACPI: toshiba_acpi: Add support for the generic backlight device X-Git-Tag: v2.6.20-rc2~6^2~11^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c92635572489b810d03acdf03f61bf6dd1af5433;p=pandora-kernel.git ACPI: toshiba_acpi: Add support for the generic backlight device Add support for the generic backlight interface below /sys/class/backlight. Keep the procfs brightness handling for backward compatibility. To achive this, add two generic functions get_lcd and set_lcd 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