Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32011
b: refs/heads/master
c: 39cb61e
h: refs/heads/master
i:
  32009: aa17ac5
  32007: 9becfab
v: v3
  • Loading branch information
Patrick Mochel authored and Len Brown committed Jun 30, 2006
1 parent b5ed32f commit 2aa3a84
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: 9453ece92688fedd7755d2ea54b2efe88822a91b
refs/heads/master: 39cb61e26771891f843cb433ee6febd9159bce73
2 changes: 0 additions & 2 deletions trunk/drivers/acpi/battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ struct acpi_battery_trips {
};

struct acpi_battery {
acpi_handle handle;
struct acpi_device * device;
struct acpi_battery_flags flags;
struct acpi_battery_trips trips;
Expand Down Expand Up @@ -693,7 +692,6 @@ static int acpi_battery_add(struct acpi_device *device)
return -ENOMEM;
memset(battery, 0, sizeof(struct acpi_battery));

battery->handle = device->handle;
battery->device = device;
strcpy(acpi_device_name(device), ACPI_BATTERY_DEVICE_NAME);
strcpy(acpi_device_class(device), ACPI_BATTERY_CLASS);
Expand Down

0 comments on commit 2aa3a84

Please sign in to comment.