diff options
-rw-r--r-- | drivers/platform/x86/fujitsu-laptop.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/platform/x86/fujitsu-laptop.c b/drivers/platform/x86/fujitsu-laptop.c index 1ab7a115094b..5c80bcb81451 100644 --- a/drivers/platform/x86/fujitsu-laptop.c +++ b/drivers/platform/x86/fujitsu-laptop.c | |||
@@ -423,14 +423,6 @@ static int acpi_fujitsu_bl_add(struct acpi_device *device) | |||
423 | pr_info("ACPI: %s [%s]\n", | 423 | pr_info("ACPI: %s [%s]\n", |
424 | acpi_device_name(device), acpi_device_bid(device)); | 424 | acpi_device_name(device), acpi_device_bid(device)); |
425 | 425 | ||
426 | if (acpi_has_method(device->handle, METHOD_NAME__INI)) { | ||
427 | vdbg_printk(FUJLAPTOP_DBG_INFO, "Invoking _INI\n"); | ||
428 | if (ACPI_FAILURE | ||
429 | (acpi_evaluate_object | ||
430 | (device->handle, METHOD_NAME__INI, NULL, NULL))) | ||
431 | pr_err("_INI Method failed\n"); | ||
432 | } | ||
433 | |||
434 | if (get_max_brightness(device) <= 0) | 426 | if (get_max_brightness(device) <= 0) |
435 | priv->max_brightness = FUJITSU_LCD_N_LEVELS; | 427 | priv->max_brightness = FUJITSU_LCD_N_LEVELS; |
436 | get_lcd_level(device); | 428 | get_lcd_level(device); |
@@ -812,14 +804,6 @@ static int acpi_fujitsu_laptop_add(struct acpi_device *device) | |||
812 | pr_info("ACPI: %s [%s]\n", | 804 | pr_info("ACPI: %s [%s]\n", |
813 | acpi_device_name(device), acpi_device_bid(device)); | 805 | acpi_device_name(device), acpi_device_bid(device)); |
814 | 806 | ||
815 | if (acpi_has_method(device->handle, METHOD_NAME__INI)) { | ||
816 | vdbg_printk(FUJLAPTOP_DBG_INFO, "Invoking _INI\n"); | ||
817 | if (ACPI_FAILURE | ||
818 | (acpi_evaluate_object | ||
819 | (device->handle, METHOD_NAME__INI, NULL, NULL))) | ||
820 | pr_err("_INI Method failed\n"); | ||
821 | } | ||
822 | |||
823 | i = 0; | 807 | i = 0; |
824 | while (call_fext_func(device, FUNC_BUTTONS, 0x1, 0x0, 0x0) != 0 | 808 | while (call_fext_func(device, FUNC_BUTTONS, 0x1, 0x0, 0x0) != 0 |
825 | && (i++) < MAX_HOTKEY_RINGBUFFER_SIZE) | 809 | && (i++) < MAX_HOTKEY_RINGBUFFER_SIZE) |