From: Yinghai Lu Date: Thu, 25 Sep 2008 02:04:33 +0000 (-0700) Subject: PCI: use %pF instead of print_fn_descriptor_symbol() in quirks.c X-Git-Tag: v2.6.28-rc1~77^2~18 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c9bbb4abb658daf6cc6f92fb4751a7796a5aab75;p=linux-2.6-omap-h63xx.git PCI: use %pF instead of print_fn_descriptor_symbol() in quirks.c Use %pF instead of print_fn_descriptor_symbol() in quirks.c to get the name of the hook we're calling. Signed-off-by: Yinghai Lu Signed-off-by: Jesse Barnes --- diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 246918fe948..9575fc8f87b 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -1935,8 +1935,7 @@ static void pci_do_fixups(struct pci_dev *dev, struct pci_fixup *f, struct pci_f if ((f->vendor == dev->vendor || f->vendor == (u16) PCI_ANY_ID) && (f->device == dev->device || f->device == (u16) PCI_ANY_ID)) { #ifdef DEBUG - dev_dbg(&dev->dev, "calling "); - print_fn_descriptor_symbol("%s\n", f->hook); + dev_dbg(&dev->dev, "calling %pF\n", f->hook); #endif f->hook(dev); }