ACPI: video: Remove code to unregister acpi_video backlight when a native backlight...
authorHans de Goede <hdegoede@redhat.com>
Fri, 29 Apr 2022 11:00:15 +0000 (13:00 +0200)
committerHans de Goede <hdegoede@redhat.com>
Fri, 2 Sep 2022 07:57:14 +0000 (09:57 +0200)
commit6cb634d0dc850cc1ae54868de7815df53e64a465
tree3ffc41760b9f398c66d4d453abe4ae67f3f159a9
parent3dbc80a3e4c55c4a5b89ef207bed7b7de36157b4
ACPI: video: Remove code to unregister acpi_video backlight when a native backlight registers

Remove the code to unregister acpi_video backlight devices when
a native backlight device gets registered later.

Now that the acpi_video backlight device registration is a separate step
which runs later, after the drm/kms driver is done setting up its own
native backlight device, it is no longer necessary to monitor for a
native (BACKLIGHT_RAW) device showing up later and to then unregister
the acpi_video backlight device(s).

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