diff options
author | Matthew Garrett <matthew.garrett@nebula.com> | 2013-07-16 21:08:16 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-07-18 03:31:47 +0400 |
commit | c04c697cf1fe8f0962ccd3c2392a9b637a5307aa (patch) | |
tree | ef888dace57a4b832a10eae7657c3e76fb5d8114 /drivers/acpi/video_detect.c | |
parent | 242b2287cd7f27521c8b54a4101d569e53e7a0ca (diff) | |
download | linux-c04c697cf1fe8f0962ccd3c2392a9b637a5307aa.tar.xz |
ACPI / video: Always call acpi_video_init_brightness() on init
We have to call acpi_video_init_brightness() even if we're not going
to initialise the backlight - Thinkpads seem to use this as the
trigger for enabling ACPI notifications rather than handling it in
firmware.
[rjw: Drop the brightness object created by
acpi_video_init_brightness() if we are not going to use it.]
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/video_detect.c')
0 files changed, 0 insertions, 0 deletions