Commit 668b21de authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by Len Brown

PNP: use new vsprintf symbolic function pointer format

Use the '%pF' format to get rid of an "#ifdef DEBUG".
Signed-off-by: default avatarBjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent c865d2f6
...@@ -337,10 +337,8 @@ void pnp_fixup_device(struct pnp_dev *dev) ...@@ -337,10 +337,8 @@ void pnp_fixup_device(struct pnp_dev *dev)
for (f = pnp_fixups; *f->id; f++) { for (f = pnp_fixups; *f->id; f++) {
if (!compare_pnp_id(dev->id, f->id)) if (!compare_pnp_id(dev->id, f->id))
continue; continue;
#ifdef DEBUG dev_dbg(&dev->dev, "%s: calling %pF\n", f->id,
dev_dbg(&dev->dev, "%s: calling ", f->id); f->quirk_function);
print_fn_descriptor_symbol("%s\n", f->quirk_function);
#endif
f->quirk_function(dev); f->quirk_function(dev);
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment