aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2008-08-19 18:53:31 -0400
committerLen Brown <len.brown@intel.com>2008-10-10 23:28:16 -0400
commit668b21de141edcba3fb13a4f810641eea4740fd7 (patch)
tree7d8f4687ffb5f9f02dba415b8def0540c0ddebb7
parentc865d2f6eb160c15b74245b4891c8e945d67d96c (diff)
PNP: use new vsprintf symbolic function pointer format
Use the '%pF' format to get rid of an "#ifdef DEBUG". 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>
-rw-r--r--drivers/pnp/quirks.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/pnp/quirks.c b/drivers/pnp/quirks.c
index 0bdf9b8a5e58..414bb0945729 100644
--- a/drivers/pnp/quirks.c
+++ b/drivers/pnp/quirks.c
@@ -337,10 +337,8 @@ void pnp_fixup_device(struct pnp_dev *dev)
337 for (f = pnp_fixups; *f->id; f++) { 337 for (f = pnp_fixups; *f->id; f++) {
338 if (!compare_pnp_id(dev->id, f->id)) 338 if (!compare_pnp_id(dev->id, f->id))
339 continue; 339 continue;
340#ifdef DEBUG 340 dev_dbg(&dev->dev, "%s: calling %pF\n", f->id,
341 dev_dbg(&dev->dev, "%s: calling ", f->id); 341 f->quirk_function);
342 print_fn_descriptor_symbol("%s\n", f->quirk_function);
343#endif
344 f->quirk_function(dev); 342 f->quirk_function(dev);
345 } 343 }
346} 344}