mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
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 <[email protected]> Signed-off-by: Jesse Barnes <[email protected]>
This commit is contained in:
1 parent
c8761fe80e
commit
c9bbb4abb6
1 file changed
+1
-2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user