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:
@ -211,7 +211,7 @@ static int pnpbios_get_resources(struct pnp_dev *dev)
|
||||
if (!pnpbios_is_dynamic(dev))
|
||||
return -EPERM;
|
||||
|
||||
dev_dbg(&dev->dev, "get resources\n");
|
||||
pnp_dbg(&dev->dev, "get resources\n");
|
||||
node = kzalloc(node_info.max_node_size, GFP_KERNEL);
|
||||
if (!node)
|
||||
return -1;
|
||||
@ -234,7 +234,7 @@ static int pnpbios_set_resources(struct pnp_dev *dev)
|
||||
if (!pnpbios_is_dynamic(dev))
|
||||
return -EPERM;
|
||||
|
||||
dev_dbg(&dev->dev, "set resources\n");
|
||||
pnp_dbg(&dev->dev, "set resources\n");
|
||||
node = kzalloc(node_info.max_node_size, GFP_KERNEL);
|
||||
if (!node)
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user