eeepc-wmi: remove unneeded static
authorCorentin Chary <corentincj@iksaif.net>
Mon, 29 Nov 2010 07:14:12 +0000 (08:14 +0100)
committerMatthew Garrett <mjg@redhat.com>
Fri, 7 Jan 2011 22:03:44 +0000 (17:03 -0500)
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/eeepc-wmi.c

index 5f3f42c8a989f0b7233b1f284b12b091a7717bf8..52274e21ee89e15bd116ee101a5bc66b63337f57 100644 (file)
@@ -267,7 +267,7 @@ static void tpd_led_set(struct led_classdev *led_cdev,
 
 static int read_tpd_state(struct eeepc_wmi *eeepc)
 {
-       static u32 retval;
+       u32 retval;
        acpi_status status;
 
        status = eeepc_wmi_get_devstate(EEEPC_WMI_DEVID_TPDLED, &retval);
@@ -458,7 +458,7 @@ exit:
  */
 static int read_brightness(struct backlight_device *bd)
 {
-       static u32 retval;
+       u32 retval;
        acpi_status status;
 
        status = eeepc_wmi_get_devstate(EEEPC_WMI_DEVID_BACKLIGHT, &retval);
@@ -472,7 +472,7 @@ static int read_brightness(struct backlight_device *bd)
 static int update_bl_status(struct backlight_device *bd)
 {
 
-       static u32 ctrl_param;
+       u32 ctrl_param;
        acpi_status status;
 
        ctrl_param = bd->props.brightness;