summaryrefslogtreecommitdiff
path: root/drivers/platform
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2026-07-23 14:18:14 +0100
committerMark Brown <broonie@kernel.org>2026-07-23 14:18:14 +0100
commitcb80df544f31e233d767e4ecf94bbc1ae712da1f (patch)
tree01ace82b5d385af627d87911d39e1e55721db23c /drivers/platform
parente08a9005e6fa61e8e0d0aa72f565101d368a032b (diff)
parent2f67e70aaf88cf8b81daac740e90956446f17a5e (diff)
downloadlinux-next-cb80df544f31e233d767e4ecf94bbc1ae712da1f.tar.gz
linux-next-cb80df544f31e233d767e4ecf94bbc1ae712da1f.zip
Merge branch 'linux-next' of https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/lenovo/thinkpad_acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/lenovo/thinkpad_acpi.c b/drivers/platform/x86/lenovo/thinkpad_acpi.c
index 445e1403308e..b528a1e67dd3 100644
--- a/drivers/platform/x86/lenovo/thinkpad_acpi.c
+++ b/drivers/platform/x86/lenovo/thinkpad_acpi.c
@@ -768,7 +768,7 @@ static acpi_status __init tpacpi_acpi_handle_locate_callback(acpi_handle handle,
if (!strcmp(context, "video")) {
struct acpi_device *dev = acpi_fetch_acpi_dev(handle);
- if (!dev || strcmp(ACPI_VIDEO_HID, acpi_device_hid(dev)))
+ if (!acpi_dev_is_video_device(dev))
return AE_OK;
}