diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-08-19 18:53:47 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-10-10 23:34:33 -0400 |
commit | 2f53432c2aedbe79020e44525eb069d9138a01dd (patch) | |
tree | 54ac6a9d9ff7aa24c0d9fabe48e38caf076830c7 /drivers/pnp/core.c | |
parent | 97ef062bbe08f46903f29ecdf432be302c977f3b (diff) |
PNP: convert to using pnp_dbg()
pnp_dbg() is equivalent to dev_dbg() except that we can turn it
on at boot-time with the "pnp.debug" kernel parameter, so we don't
have to build a new kernel image.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/pnp/core.c')
-rw-r--r-- | drivers/pnp/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pnp/core.c b/drivers/pnp/core.c index 61291b5bfe12..521561509a75 100644 --- a/drivers/pnp/core.c +++ b/drivers/pnp/core.c | |||
@@ -200,7 +200,7 @@ int pnp_add_device(struct pnp_dev *dev) | |||
200 | for (id = dev->id; id; id = id->next) | 200 | for (id = dev->id; id; id = id->next) |
201 | len += scnprintf(buf + len, sizeof(buf) - len, " %s", id->id); | 201 | len += scnprintf(buf + len, sizeof(buf) - len, " %s", id->id); |
202 | 202 | ||
203 | dev_dbg(&dev->dev, "%s device, IDs%s (%s)\n", | 203 | pnp_dbg(&dev->dev, "%s device, IDs%s (%s)\n", |
204 | dev->protocol->name, buf, dev->active ? "active" : "disabled"); | 204 | dev->protocol->name, buf, dev->active ? "active" : "disabled"); |
205 | return 0; | 205 | return 0; |
206 | } | 206 | } |