diff options
author | Lan Tianyu <tianyu.lan@intel.com> | 2011-06-30 11:33:27 +0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-07-14 00:04:57 -0400 |
commit | 7b78622d0f9df9f274a319eea1494240119d3734 (patch) | |
tree | c0bf9783ccc803815b59b6b5ff2131c10324c355 /drivers/acpi | |
parent | 55003b2105a4578736f3e868fbaa889bb1ff3ce0 (diff) | |
download | kernel_goldelico_gta04-7b78622d0f9df9f274a319eea1494240119d3734.zip kernel_goldelico_gta04-7b78622d0f9df9f274a319eea1494240119d3734.tar.gz kernel_goldelico_gta04-7b78622d0f9df9f274a319eea1494240119d3734.tar.bz2 |
ACPI / Battery: Rename acpi_battery_quirks2 with acpi_battery_quirks
This patch is cosmetic only, and makes no functional change.
Since the acpi_battery_quirks has been deleted, rename
acpi_battery_quirks2 with acpi_battery_quirks to clean the code.
Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/battery.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c index ff1ff70..ba7926fc 100644 --- a/drivers/acpi/battery.c +++ b/drivers/acpi/battery.c @@ -592,7 +592,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 ; @@ -628,7 +628,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; } |