On Sun, Jan 07, 2007 at 06:54:43PM +0100, [EMAIL PROTECTED] wrote:
> From: Mattia Dongili <[EMAIL PROTECTED]>
> 
> Signed-off-by: Mattia Dongili <[EMAIL PROTECTED]>
> ---
>  drivers/acpi/sony_acpi.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/acpi/sony_acpi.c b/drivers/acpi/sony_acpi.c
> index c65f589..8c69282 100644
> --- a/drivers/acpi/sony_acpi.c
> +++ b/drivers/acpi/sony_acpi.c
> @@ -357,6 +357,8 @@ static int sony_acpi_add(struct acpi_device *device)
>               if (IS_ERR(sony_backlight_device)) {
>                       printk(LOG_PFX "unable to register backlight device\n");
>               }
> +             sony_backlight_properties.brightness =
> +                     sony_backlight_get_brightness(sony_backlight_device);

Ok, this one is at wrong and incomplete (the error exit path is missing
the backlight device unregistration).

Will resend a correct patch later.

-- 
mattia
:wq!
-
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