Re: [PATCH 02/11] Check for ACPI backlight support otherwise use vendor ACPI drivers

Zhang Rui
2008-08-01T01:29:53Z

On Wed, 2008-07-16 at 18:52 +0800, Thomas Renninger wrote:

> diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
> index 5b049cd..fb8e2df 100644
> --- a/drivers/acpi/scan.c
> +++ b/drivers/acpi/scan.c
> @@ -931,36 +931,6 @@ static void acpi_device_get_busid(struct
> acpi_device *device,
> }
> }
>
> -static int
> -acpi_video_bus_match(struct acpi_device *device)
> -{
> - acpi_handle h_dummy;
> -
> - if (!device)
> - return -EINVAL;
> -
> - /* Since there is no HID, CID for ACPI Video drivers, we have
> - * to check well known required nodes for each feature we
> support.
> - */
This comment is wrong.
CID for ACPI video bus device is LNXVIDEO.

thanks,
rui