diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 19:11:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 19:11:43 -0400 |
commit | 2e532d68a2b3e2aa6b19731501222069735c741c (patch) | |
tree | a2f37d0bc798fa186270b44a7064519a55530931 /drivers/pci/quirks.c | |
parent | 52ad096465d60ee7fdc99583f969a99a1166c7c3 (diff) |
{pci,pnp} quirks.c: don't use deprecated print_fn_descriptor_symbol()
I dunno how this missed Bjorn and his quest to use %pF in commit
c80cfb0406c01bb5da91bfe30f5cb1fd96831138 ("vsprintf: use new vsprintf
symbolic function pointer format"), but it did.
So use %pF in the two remaining places that still tried to print out
function pointers by hand.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pci/quirks.c')
-rw-r--r-- | drivers/pci/quirks.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 9236e7f869c8..e872ac925b4b 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c | |||
@@ -1561,8 +1561,7 @@ static void pci_do_fixups(struct pci_dev *dev, struct pci_fixup *f, struct pci_f | |||
1561 | if ((f->vendor == dev->vendor || f->vendor == (u16) PCI_ANY_ID) && | 1561 | if ((f->vendor == dev->vendor || f->vendor == (u16) PCI_ANY_ID) && |
1562 | (f->device == dev->device || f->device == (u16) PCI_ANY_ID)) { | 1562 | (f->device == dev->device || f->device == (u16) PCI_ANY_ID)) { |
1563 | #ifdef DEBUG | 1563 | #ifdef DEBUG |
1564 | dev_dbg(&dev->dev, "calling "); | 1564 | dev_dbg(&dev->dev, "calling %pF\n", f->hook); |
1565 | print_fn_descriptor_symbol("%s\n", f->hook); | ||
1566 | #endif | 1565 | #endif |
1567 | f->hook(dev); | 1566 | f->hook(dev); |
1568 | } | 1567 | } |