aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/acpi/battery.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c
index ff1ff70da384..ba7926fce4fb 100644
--- a/drivers/acpi/battery.c
+++ b/drivers/acpi/battery.c
@@ -592,7 +592,7 @@ static void sysfs_remove_battery(struct acpi_battery *battery)
592 * 592 *
593 * Handle this correctly so that they won't break userspace. 593 * Handle this correctly so that they won't break userspace.
594 */ 594 */
595static void acpi_battery_quirks2(struct acpi_battery *battery) 595static void acpi_battery_quirks(struct acpi_battery *battery)
596{ 596{
597 if (test_bit(ACPI_BATTERY_QUIRK_PERCENTAGE_CAPACITY, &battery->flags)) 597 if (test_bit(ACPI_BATTERY_QUIRK_PERCENTAGE_CAPACITY, &battery->flags))
598 return ; 598 return ;
@@ -628,7 +628,7 @@ static int acpi_battery_update(struct acpi_battery *battery)
628 if (!battery->bat.dev) 628 if (!battery->bat.dev)
629 sysfs_add_battery(battery); 629 sysfs_add_battery(battery);
630 result = acpi_battery_get_state(battery); 630 result = acpi_battery_get_state(battery);
631 acpi_battery_quirks2(battery); 631 acpi_battery_quirks(battery);
632 return result; 632 return result;
633} 633}
634 634