mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 22:50:41 +00:00
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>
This commit is contained in:
parent
0bc11fd446
commit
b806816280
@ -214,8 +214,8 @@ void pnp_fixup_device(struct pnp_dev *dev)
|
||||
quirk = pnp_fixups[i].quirk_function;
|
||||
|
||||
#ifdef DEBUG
|
||||
dev_dbg(&dev->dev, "calling quirk 0x%p", quirk);
|
||||
print_fn_descriptor_symbol(": %s()\n",
|
||||
dev_dbg(&dev->dev, "calling ");
|
||||
print_fn_descriptor_symbol("%s()\n",
|
||||
(unsigned long) *quirk);
|
||||
#endif
|
||||
(*quirk)(dev);
|
||||
|
Loading…
x
Reference in New Issue
Block a user