drivers/acpi/scan.c | 2 -- 1 file changed, 2 deletions(-)
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. So drop the reference to
acpi_video_get_capabilities() here as well.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
drivers/acpi/scan.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index 416d87f9bd10..9297461045a2 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -1294,8 +1294,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)
{
On Tue, Dec 30, 2025 at 5:06 PM Julia Lawall <Julia.Lawall@inria.fr> wrote:
>
> 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. So drop the reference to
> acpi_video_get_capabilities() here as well.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
>
> ---
> drivers/acpi/scan.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
> index 416d87f9bd10..9297461045a2 100644
> --- a/drivers/acpi/scan.c
> +++ b/drivers/acpi/scan.c
> @@ -1294,8 +1294,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)
> {
Applied as 6.20 material, thanks!
© 2016 - 2026 Red Hat, Inc.