mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 08:49:45 +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
1 changed files with 2 additions and 2 deletions
|
@ -214,8 +214,8 @@ void pnp_fixup_device(struct pnp_dev *dev)
|
||||||
quirk = pnp_fixups[i].quirk_function;
|
quirk = pnp_fixups[i].quirk_function;
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
dev_dbg(&dev->dev, "calling quirk 0x%p", quirk);
|
dev_dbg(&dev->dev, "calling ");
|
||||||
print_fn_descriptor_symbol(": %s()\n",
|
print_fn_descriptor_symbol("%s()\n",
|
||||||
(unsigned long) *quirk);
|
(unsigned long) *quirk);
|
||||||
#endif
|
#endif
|
||||||
(*quirk)(dev);
|
(*quirk)(dev);
|
||||||
|
|
Loading…
Reference in a new issue