Skip to content
Commit 038a8191 authored by Hans de Goede's avatar Hans de Goede
Browse files

ACPI: video: Simplify acpi_video_unregister_backlight()



When acpi_video_register() has not run yet the video_bus_head will be
empty, so there is no need to check the register_count flag first.

Acked-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent c1af8bec
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment