aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/fujitsu-laptop.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2007-10-29 17:30:48 -0400
committerLen Brown <len.brown@intel.com>2007-10-29 17:30:48 -0400
commitb2451e4399d7233cd0008823872f51112d18f8d0 (patch)
tree2673680709e9fb19064fcc3f485ad88f75a4763d /drivers/misc/fujitsu-laptop.c
parent14f7d720bb6cc60be8931ea1a0f547dc1e475b88 (diff)
parentb023b43a83d231d1f3d36ac9e3ce4831b5ec2e7b (diff)
Pull fujitsu into release branch
Diffstat (limited to 'drivers/misc/fujitsu-laptop.c')
-rw-r--r--drivers/misc/fujitsu-laptop.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/misc/fujitsu-laptop.c b/drivers/misc/fujitsu-laptop.c
index d366a6cc1fd..c8d62c268b1 100644
--- a/drivers/misc/fujitsu-laptop.c
+++ b/drivers/misc/fujitsu-laptop.c
@@ -122,9 +122,6 @@ static int get_lcd_level(void)
else
fujitsu->brightness_changed = 0;
- if (status < 0)
- return status;
-
return fujitsu->brightness_level;
}
@@ -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;
@@ -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");