diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2010-08-09 23:48:18 -0300 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2010-08-16 11:54:47 -0400 |
commit | 122f26726b5e16174bf8a707df14be1d93c49d62 (patch) | |
tree | 7e71e1fa0c2dda912796f1cb9fd1f1f71bb872e4 /Documentation | |
parent | 52d7ee558d3babb4918eed6769f593adc1b6616e (diff) | |
download | linux-stable-122f26726b5e16174bf8a707df14be1d93c49d62.tar.gz linux-stable-122f26726b5e16174bf8a707df14be1d93c49d62.tar.bz2 linux-stable-122f26726b5e16174bf8a707df14be1d93c49d62.zip |
thinkpad-acpi: find ACPI video device by synthetic HID
The Linux ACPI core locates the ACPI video devices for us and marks them
with ACPI_VIDEO_HID. Use that information to locate the video device
instead of a half-baked hunt for _BCL.
This uncouples the detection of the number of backlight brightness
levels on ThinkPads from the ACPI paths in vid_handle.
With this change, the driver should be able to always detect whether the
ThinkPad uses a 8-level or 16-level brightness scale even on newer
models for which the vid_handle paths have not been updated yet.
It will skip deactivated devices in the ACPI device tree, which is a
change in behaviour.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions