From 2f53432c2aedbe79020e44525eb069d9138a01dd Mon Sep 17 00:00:00 2001 From: Bjorn Helgaas Date: Tue, 19 Aug 2008 16:53:47 -0600 Subject: 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 Signed-off-by: Andi Kleen Signed-off-by: Len Brown --- drivers/pnp/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/pnp/core.c') diff --git a/drivers/pnp/core.c b/drivers/pnp/core.c index 61291b5bfe1..521561509a7 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; } -- cgit v1.2.3