summaryrefslogtreecommitdiff
path: root/drivers/pnp/core.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2008-08-20 02:53:47 +0400
committerLen Brown <len.brown@intel.com>2008-10-11 07:34:33 +0400
commit2f53432c2aedbe79020e44525eb069d9138a01dd (patch)
tree54ac6a9d9ff7aa24c0d9fabe48e38caf076830c7 /drivers/pnp/core.c
parent97ef062bbe08f46903f29ecdf432be302c977f3b (diff)
downloadlinux-2f53432c2aedbe79020e44525eb069d9138a01dd.tar.xz
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.c2
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)
for (id = dev->id; id; id = id->next)
len += scnprintf(buf + len, sizeof(buf) - len, " %s", id->id);
- dev_dbg(&dev->dev, "%s device, IDs%s (%s)\n",
+ pnp_dbg(&dev->dev, "%s device, IDs%s (%s)\n",
dev->protocol->name, buf, dev->active ? "active" : "disabled");
return 0;
}