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>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user