]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ACPI: scan: Drop outdated comment regarding removed function
authorJulia Lawall <Julia.Lawall@inria.fr>
Tue, 30 Dec 2025 16:06:44 +0000 (17:06 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 2 Jan 2026 12:11:00 +0000 (13:11 +0100)
The function acpi_video_get_capabilities() was removed from
drivers/acpi/video_detect.c by commit 87521e16a7ab ("acpi-video-detect:
Rewrite backlight interface selection logic") in 2015.  At the time,
comments about this function were just removed, and no replacement
seemed to be proposed.

Drop the reference to acpi_video_get_capabilities() here as well.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
[ rjw: Subject adjustment, changelog edits ]
Link: https://patch.msgid.link/20251230160644.100439-1-Julia.Lawall@inria.fr
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/scan.c

index e9b09a3040f00a37b3d1639a06dd90fcc75f0003..26ea73abe39ff3435ee444a6500a02f7853809c7 100644 (file)
@@ -1295,8 +1295,6 @@ acpi_backlight_cap_match(acpi_handle handle, u32 level, void *context,
  * The device will get a Linux specific CID added in scan.c to
  * identify the device as an ACPI graphics device
  * Be aware that the graphics device may not be physically present
- * Use acpi_video_get_capabilities() to detect general ACPI video
- * capabilities of present cards
  */
 long acpi_is_video_device(acpi_handle handle)
 {