diff options
author | Hans de Goede <hdegoede@redhat.com> | 2022-06-04 15:38:24 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2022-09-03 13:17:26 +0300 |
commit | b39be9f441f9d7320e6020bdf8ec1522d6c81d1e (patch) | |
tree | 75585ce6a2085a5a283f291516505e874d6fc527 /drivers/parport/parport_atari.c | |
parent | 3db2aeb121b9c54f52c399b8905c2bbbf201b7b5 (diff) | |
download | linux-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 'drivers/parport/parport_atari.c')
0 files changed, 0 insertions, 0 deletions