On Mon, Oct 15, 2007 at 06:45:53PM +0200, Thomas Renninger wrote:
> +     if (ACPI_SUCCESS(acpi_get_handle(handle, "_BCM", &h_dummy1)) &&
> +         ACPI_SUCCESS(acpi_get_handle(handle, "_BCL", &h_dummy2)) &&
> +         ACPI_SUCCESS(acpi_get_handle(handle, "_BQC", &h_dummy3)))
> +             acpi_video_support |= ACPI_VIDEO_BRIGHTNESS;

Probably want to check for _BCQ as an alternative to _BQC as well.

> +     return 0;

Why return int if you always return 0? Other than that, it looks 
reasonable (and saves us having copy and pasted code in all of the 
hardware-specific drivers)

-- 
Matthew Garrett | [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to