aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2008-03-04 18:22:07 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-21 00:47:06 -0400
commit0255f543d9888fb5c5fbcd265ca2eee2d6ecff6a (patch)
treec6b544ff5581db636eee2a6a6f1b9c284a0b291d /drivers/pci
parentddf02886cbe665d67ca750750196ea5bf524b10b (diff)
PCI: 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: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/quirks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index e887aa45c9c..c4c769382e0 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -1502,8 +1502,8 @@ static void pci_do_fixups(struct pci_dev *dev, struct pci_fixup *f, struct pci_f
1502 if ((f->vendor == dev->vendor || f->vendor == (u16) PCI_ANY_ID) && 1502 if ((f->vendor == dev->vendor || f->vendor == (u16) PCI_ANY_ID) &&
1503 (f->device == dev->device || f->device == (u16) PCI_ANY_ID)) { 1503 (f->device == dev->device || f->device == (u16) PCI_ANY_ID)) {
1504#ifdef DEBUG 1504#ifdef DEBUG
1505 dev_dbg(&dev->dev, "calling quirk 0x%p", f->hook); 1505 dev_dbg(&dev->dev, "calling ");
1506 print_fn_descriptor_symbol(": %s()\n", 1506 print_fn_descriptor_symbol("%s()\n",
1507 (unsigned long) f->hook); 1507 (unsigned long) f->hook);
1508#endif 1508#endif
1509 f->hook(dev); 1509 f->hook(dev);