ACPI: video: Rationalise ACPI backlight implementation
authorMatthew Garrett <mjg59@srcf.ucam.org>
Wed, 26 Dec 2007 02:03:26 +0000 (02:03 +0000)
committerLen Brown <len.brown@intel.com>
Sat, 2 Feb 2008 03:43:31 +0000 (22:43 -0500)
The sysfs backlight class provides no mechanism for querying the
acceptable brightness for a backlight. The ACPI spec states that values
are only valid if they are reported as available by the firmware. Since
we can't provide that information to userspace, instead collapse the
range to the number of actual values that can be set.

http://bugzilla.kernel.org/show_bug.cgi?id=9277

Signed-off-by: Matthew Garrett <mjg59@srcf.ucam.org>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>

No differences found