projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
{pci,pnp} quirks.c: don't use deprecated print_fn_descriptor_symbol()
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
pci
/
quirks.c
diff --git
a/drivers/pci/quirks.c
b/drivers/pci/quirks.c
index 9236e7f869c81779f7fccecb2cdf49f601186543..e872ac925b4b3479cc06e5699973edbf65128881 100644
(file)
--- 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
if ((f->vendor == dev->vendor || f->vendor == (u16) PCI_ANY_ID) &&
(f->device == dev->device || f->device == (u16) PCI_ANY_ID)) {
#ifdef DEBUG
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);
}
#endif
f->hook(dev);
}