Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131096
b: refs/heads/master
c: db1461a
h: refs/heads/master
v: v3
  • Loading branch information
Kay Sievers authored and Len Brown committed Feb 7, 2009
1 parent f048c89 commit 36e1dbd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: fc5a9f8841ee87d93376ada5d73117d4d6a373ea
refs/heads/master: db1461ad431f0fd21afcd8ea6594ae38fdc57759
8 changes: 4 additions & 4 deletions trunk/drivers/acpi/glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -255,12 +255,12 @@ static int acpi_platform_notify(struct device *dev)
}
type = acpi_get_bus_type(dev->bus);
if (!type) {
DBG("No ACPI bus support for %s\n", dev->bus_id);
DBG("No ACPI bus support for %s\n", dev_name(dev));
ret = -EINVAL;
goto end;
}
if ((ret = type->find_device(dev, &handle)) != 0)
DBG("Can't get handler for %s\n", dev->bus_id);
DBG("Can't get handler for %s\n", dev_name(dev));
end:
if (!ret)
acpi_bind_one(dev, handle);
Expand All @@ -271,10 +271,10 @@ static int acpi_platform_notify(struct device *dev)

acpi_get_name(dev->archdata.acpi_handle,
ACPI_FULL_PATHNAME, &buffer);
DBG("Device %s -> %s\n", dev->bus_id, (char *)buffer.pointer);
DBG("Device %s -> %s\n", dev_name(dev), (char *)buffer.pointer);
kfree(buffer.pointer);
} else
DBG("Device %s -> No ACPI support\n", dev->bus_id);
DBG("Device %s -> No ACPI support\n", dev_name(dev));
#endif

return ret;
Expand Down

0 comments on commit 36e1dbd

Please sign in to comment.