diff mbox

[2/3] ACPI / Battery: Replace acpi_battery_quirks2 with acpi_battery_quirks

Message ID 1308553003.18731.29.camel@lantianyu-ws (mailing list archive)
State New, archived
Headers show

Commit Message

lan,Tianyu June 20, 2011, 6:56 a.m. UTC
Since the acpi_battery_quirks has been deleted, replace
acpi_battery_quirks2 with acpi_battery_quirks to clean the code

Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
---
 drivers/acpi/battery.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c
index d6a3de9..0ae5b08 100644
--- a/drivers/acpi/battery.c
+++ b/drivers/acpi/battery.c
@@ -587,7 +587,7 @@  static void sysfs_remove_battery(struct acpi_battery *battery)
  *
  * Handle this correctly so that they won't break userspace.
  */
-static void acpi_battery_quirks2(struct acpi_battery *battery)
+static void acpi_battery_quirks(struct acpi_battery *battery)
 {
 	if (test_bit(ACPI_BATTERY_QUIRK_PERCENTAGE_CAPACITY, &battery->flags))
 		return ;
@@ -623,7 +623,7 @@  static int acpi_battery_update(struct acpi_battery *battery)
 	if (!battery->bat.dev)
 		sysfs_add_battery(battery);
 	result = acpi_battery_get_state(battery);
-	acpi_battery_quirks2(battery);
+	acpi_battery_quirks(battery);
 	return result;
 }