]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ACPI / video: seperate backlight control and event interface
authorAaron Lu <aaron.lu@intel.com>
Fri, 11 Oct 2013 13:27:44 +0000 (21:27 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 15 Oct 2013 23:16:04 +0000 (01:16 +0200)
commit67b662e189f469c6d373f81d76b0ef0495940e99
tree4ce943e175f5f8d4d540aa31301eb8dd2ef4b61b
parent5915a3db0c3983f1cd5e046bf70086c7d0c686d2
ACPI / video: seperate backlight control and event interface

The backlight control and event delivery functionality provided by ACPI
video module is mixed together and registered all during video device
enumeration time. As a result, the two functionality are also removed
together on module unload time or by the acpi_video_unregister function.
The two functionalities are actually independent and one may be useful
while the other one may be broken, so it is desirable to seperate the
two functionalities such that it is clear and easy to disable one
functionality without affecting the other one.

APIs to selectively remove backlight control interface and/or event
delivery functionality can be easily added once needed.

Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/video.c