]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
PCI: use %pF instead of print_fn_descriptor_symbol() in quirks.c
authorYinghai Lu <yhlu.kernel@gmail.com>
Thu, 25 Sep 2008 02:04:33 +0000 (19:04 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 20 Oct 2008 17:54:26 +0000 (10:54 -0700)
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 <yhlu.kernel@gmail.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/quirks.c

index 246918fe94826d37a038a72e54febc2cb35ea63b..9575fc8f87b331375badbf16899e2d8f7be77494 100644 (file)
@@ -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);
                }