Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95544
b: refs/heads/master
c: 4a49049
h: refs/heads/master
v: v3
  • Loading branch information
Bjorn Helgaas authored and Len Brown committed Apr 29, 2008
1 parent d8fec87 commit 8e62d46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 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: ca0e8b6fd29819891c874b86ff286987c5bfdc21
refs/heads/master: 4a490498643ea37520c315769b293085b6018ddd
8 changes: 2 additions & 6 deletions trunk/drivers/pnp/pnpacpi/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,7 @@ static int __init pnpacpi_add_device(struct acpi_device *device)
&dev->res);
if (ACPI_FAILURE(status) && (status != AE_NOT_FOUND)) {
pnp_err("PnPACPI: METHOD_NAME__CRS failure for %s",
dev_id->id);
goto err1;
acpi_device_hid(device));
}
}

Expand All @@ -223,8 +222,7 @@ static int __init pnpacpi_add_device(struct acpi_device *device)
dev);
if (ACPI_FAILURE(status) && (status != AE_NOT_FOUND)) {
pnp_err("PnPACPI: METHOD_NAME__PRS failure for %s",
dev_id->id);
goto err1;
acpi_device_hid(device));
}
}

Expand Down Expand Up @@ -252,8 +250,6 @@ static int __init pnpacpi_add_device(struct acpi_device *device)
num++;

return AE_OK;
err1:
kfree(dev_id);
err:
kfree(dev);
return -EINVAL;
Expand Down

0 comments on commit 8e62d46

Please sign in to comment.