aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-09-24 22:04:33 -0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-10-20 13:54:26 -0400
commitc9bbb4abb658daf6cc6f92fb4751a7796a5aab75 (patch)
treea4837eb80eb87bf0fc3d830c8215c92184cc22ea /drivers
parentc8761fe80ed052634153438405c9048611ae7ae1 (diff)
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 <yhlu.kernel@gmail.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pci/quirks.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 246918fe9482..9575fc8f87b3 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
1935 if ((f->vendor == dev->vendor || f->vendor == (u16) PCI_ANY_ID) && 1935 if ((f->vendor == dev->vendor || f->vendor == (u16) PCI_ANY_ID) &&
1936 (f->device == dev->device || f->device == (u16) PCI_ANY_ID)) { 1936 (f->device == dev->device || f->device == (u16) PCI_ANY_ID)) {
1937#ifdef DEBUG 1937#ifdef DEBUG
1938 dev_dbg(&dev->dev, "calling "); 1938 dev_dbg(&dev->dev, "calling %pF\n", f->hook);
1939 print_fn_descriptor_symbol("%s\n", f->hook);
1940#endif 1939#endif
1941 f->hook(dev); 1940 f->hook(dev);
1942 } 1941 }