Messages in this thread | | | Subject | Re: [PATCH v2 2/3] ACPI / video: seperate backlight control and event interface | From | Igor Gnatenko <> | Date | Tue, 17 Sep 2013 17:04:11 +0400 |
| |
On Tue, 2013-09-17 at 17:23 +0800, Aaron Lu wrote: > 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> Tested-by: Igor Gnatenko <i.gnatenko.brain@gmail.com> > --- > drivers/acpi/video.c | 451 ++++++++++++++++++++++++++++++--------------------- > include/acpi/video.h | 2 + > 2 files changed, 264 insertions(+), 189 deletions(-)
-- Igor Gnatenko Fedora release 20 (Heisenbug) Linux 3.12.0-0.rc1.git0.1.fc20.x86_64
| |