diff options
author | Hans de Goede | 2022-06-04 14:38:24 +0200 |
---|---|---|
committer | Hans de Goede | 2022-09-03 12:17:26 +0200 |
commit | b39be9f441f9d7320e6020bdf8ec1522d6c81d1e (patch) | |
tree | 75585ce6a2085a5a283f291516505e874d6fc527 /include | |
parent | 3db2aeb121b9c54f52c399b8905c2bbbf201b7b5 (diff) |
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')
0 files changed, 0 insertions, 0 deletions