diff options
| author | Mark Brown <broonie@kernel.org> | 2026-07-23 14:18:14 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-07-23 14:18:14 +0100 |
| commit | cb80df544f31e233d767e4ecf94bbc1ae712da1f (patch) | |
| tree | 01ace82b5d385af627d87911d39e1e55721db23c /drivers/platform | |
| parent | e08a9005e6fa61e8e0d0aa72f565101d368a032b (diff) | |
| parent | 2f67e70aaf88cf8b81daac740e90956446f17a5e (diff) | |
| download | linux-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.c | 2 |
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; } |
