Skip to content

Commit

Permalink
Pull fujitsu into release branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Len Brown committed Oct 29, 2007
2 parents 14f7d72 + b023b43 commit b2451e4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions drivers/misc/fujitsu-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,6 @@ static int get_lcd_level(void)
else
fujitsu->brightness_changed = 0;

if (status < 0)
return status;

return fujitsu->brightness_level;
}

Expand Down Expand Up @@ -198,7 +195,7 @@ static struct platform_driver fujitsupf_driver = {

/* ACPI device */

int acpi_fujitsu_add(struct acpi_device *device)
static int acpi_fujitsu_add(struct acpi_device *device)
{
int result = 0;
int state = 0;
Expand Down Expand Up @@ -229,7 +226,7 @@ int acpi_fujitsu_add(struct acpi_device *device)
return result;
}

int acpi_fujitsu_remove(struct acpi_device *device, int type)
static int acpi_fujitsu_remove(struct acpi_device *device, int type)
{
ACPI_FUNCTION_TRACE("acpi_fujitsu_remove");

Expand Down

0 comments on commit b2451e4

Please sign in to comment.