diff options
Diffstat (limited to 'drivers/platform/x86/thinkpad_acpi.c')
-rw-r--r-- | drivers/platform/x86/thinkpad_acpi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index e8c21994b36d..a974ca383cb9 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c | |||
@@ -589,6 +589,7 @@ static int acpi_evalf(acpi_handle handle, | |||
589 | default: | 589 | default: |
590 | printk(TPACPI_ERR "acpi_evalf() called " | 590 | printk(TPACPI_ERR "acpi_evalf() called " |
591 | "with invalid format character '%c'\n", c); | 591 | "with invalid format character '%c'\n", c); |
592 | va_end(ap); | ||
592 | return 0; | 593 | return 0; |
593 | } | 594 | } |
594 | } | 595 | } |
@@ -6345,7 +6346,7 @@ static int __init brightness_init(struct ibm_init_struct *iibm) | |||
6345 | "as change notification\n"); | 6346 | "as change notification\n"); |
6346 | tpacpi_hotkey_driver_mask_set(hotkey_driver_mask | 6347 | tpacpi_hotkey_driver_mask_set(hotkey_driver_mask |
6347 | | TP_ACPI_HKEY_BRGHTUP_MASK | 6348 | | TP_ACPI_HKEY_BRGHTUP_MASK |
6348 | | TP_ACPI_HKEY_BRGHTDWN_MASK);; | 6349 | | TP_ACPI_HKEY_BRGHTDWN_MASK); |
6349 | return 0; | 6350 | return 0; |
6350 | } | 6351 | } |
6351 | 6352 | ||