Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262273
b: refs/heads/master
c: 7b78622
h: refs/heads/master
i:
  262271: 38b4dff
v: v3
  • Loading branch information
Lan Tianyu authored and Len Brown committed Jul 14, 2011
1 parent fa98514 commit f13aac1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 55003b2105a4578736f3e868fbaa889bb1ff3ce0
refs/heads/master: 7b78622d0f9df9f274a319eea1494240119d3734
4 changes: 2 additions & 2 deletions trunk/drivers/acpi/battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ;
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit f13aac1

Please sign in to comment.