summaryrefslogtreecommitdiffstats
path: root/io_uring/statx.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-11-14 15:44:58 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-11-16 19:52:48 +0100
commita5df42521f328b45c9d89c13740e747be08ac66e (patch)
tree15873490d1c1f0a1d13bb964434175b296ff1a80 /io_uring/statx.c
parentACPI: video: Add force_native quirk for Sony Vaio VPCY11S1E (diff)
downloadlinux-a5df42521f328b45c9d89c13740e747be08ac66e.tar.xz
linux-a5df42521f328b45c9d89c13740e747be08ac66e.zip
ACPI: video: Simplify __acpi_video_get_backlight_type()
Simplify __acpi_video_get_backlight_type() removing a nested if which makes the flow harder to follow. This also results in having only 1 exit point with return acpi_backlight_native instead of 2. Note this drops the (video_caps & ACPI_VIDEO_BACKLIGHT) check from the if (acpi_osi_is_win8() && native_available) return native path. Windows 8's hardware certification requirements include that there must be ACPI video bus backlight control, so the ACPI_VIDEO_BACKLIGHT check is redundant. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'io_uring/statx.c')
0 files changed, 0 insertions, 0 deletions