Merge branch 'misc-2.6.33' into release
This commit is contained in:
@@ -376,8 +376,8 @@ static int get_lcd_level(void)
|
||||
|
||||
status =
|
||||
acpi_evaluate_integer(fujitsu->acpi_handle, "GBLL", NULL, &state);
|
||||
if (status < 0)
|
||||
return status;
|
||||
if (ACPI_FAILURE(status))
|
||||
return 0;
|
||||
|
||||
fujitsu->brightness_level = state & 0x0fffffff;
|
||||
|
||||
@@ -398,8 +398,8 @@ static int get_max_brightness(void)
|
||||
|
||||
status =
|
||||
acpi_evaluate_integer(fujitsu->acpi_handle, "RBLL", NULL, &state);
|
||||
if (status < 0)
|
||||
return status;
|
||||
if (ACPI_FAILURE(status))
|
||||
return -1;
|
||||
|
||||
fujitsu->max_brightness = state;
|
||||
|
||||
|
Verwijs in nieuw issue
Block a user