summaryrefslogtreecommitdiff
path: root/include/acpi
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-04-29 14:29:31 +0300
committerHans de Goede <hdegoede@redhat.com>2022-09-02 10:57:14 +0300
commit038a8191ae7a636586a4415b001cece831ab7019 (patch)
treeaefa786e7ab1771876258816d0e1c2db60c050ae /include/acpi
parentc1af8bec569dd6b8d874c14455ab02398c3d34cd (diff)
downloadlinux-038a8191ae7a636586a4415b001cece831ab7019.tar.xz
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: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'include/acpi')
0 files changed, 0 insertions, 0 deletions