aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pnp/quirks.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2008-04-28 05:15:58 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-28 11:58:42 -0400
commitb8068162806266552933e395877452de4f2427e7 (patch)
tree619d58700122734a45f57135b7153ed3ebc5f100 /drivers/pnp/quirks.c
parent0bc11fd446d2ca29459c3c8e04a6d36db9bbbea4 (diff)
PNP: simplify quirk debug output
print_fn_descriptor_symbol() prints the address if we don't have a symbol, so no need to print both. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pnp/quirks.c')
-rw-r--r--drivers/pnp/quirks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pnp/quirks.c b/drivers/pnp/quirks.c
index 37993206ae5d..1e8b1b4c09be 100644
--- a/drivers/pnp/quirks.c
+++ b/drivers/pnp/quirks.c
@@ -214,8 +214,8 @@ void pnp_fixup_device(struct pnp_dev *dev)
214 quirk = pnp_fixups[i].quirk_function; 214 quirk = pnp_fixups[i].quirk_function;
215 215
216#ifdef DEBUG 216#ifdef DEBUG
217 dev_dbg(&dev->dev, "calling quirk 0x%p", quirk); 217 dev_dbg(&dev->dev, "calling ");
218 print_fn_descriptor_symbol(": %s()\n", 218 print_fn_descriptor_symbol("%s()\n",
219 (unsigned long) *quirk); 219 (unsigned long) *quirk);
220#endif 220#endif
221 (*quirk)(dev); 221 (*quirk)(dev);