summaryrefslogtreecommitdiff
path: root/include/acpi
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-06-04 15:38:24 +0300
committerHans de Goede <hdegoede@redhat.com>2022-09-03 13:17:26 +0300
commitb39be9f441f9d7320e6020bdf8ec1522d6c81d1e (patch)
tree75585ce6a2085a5a283f291516505e874d6fc527 /include/acpi
parent3db2aeb121b9c54f52c399b8905c2bbbf201b7b5 (diff)
downloadlinux-b39be9f441f9d7320e6020bdf8ec1522d6c81d1e.tar.xz
ACPI: video: Refactor acpi_video_get_backlight_type() a bit
Refactor acpi_video_get_backlight_type() so that the heuristics / detection steps are stricly in order of descending precedence. Also move the comments describing the steps to when the various steps are actually done, to avoid the comments getting out of sync with the code. 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