ACPI / video: Move backlight notifier to video_detect.c
authorHans de Goede <hdegoede@redhat.com>
Tue, 16 Jun 2015 14:27:52 +0000 (16:27 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 18 Jun 2015 23:11:04 +0000 (01:11 +0200)
commit93a291dfaf9c328ca5a9cea1733af1a128efe890
treeb80b1104cbb17696a63fac8df9bca21740c3568c
parent3bd6bce36975f571cb47fa9d0aac9e06f94f4028
ACPI / video: Move backlight notifier to video_detect.c

Move the unregistering of the acpi backlight interface on registering of a
native backlight from video.c to video_detect.c where it belongs.

Note this removes support for re-registering the acpi backlight interface
when the native interface goes away. In practice this never happens and
it needlessly complicates the code.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_video.c
drivers/acpi/video_detect.c