]> git.baikalelectronics.ru Git - kernel.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)
commit81c91fca5f17c2878ef59c83b605b23b218614cf
tree4ce943e175f5f8d4d540aa31301eb8dd2ef4b61b
parent82f60c1d44fc9b558e82ef1a8e49ca88ea8add01
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