mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-08 14:13:53 +00:00
PNP: use new vsprintf symbolic function pointer format
Use the '%pF' format to get rid of an "#ifdef DEBUG". Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
c865d2f6eb
commit
668b21de14
@ -337,10 +337,8 @@ void pnp_fixup_device(struct pnp_dev *dev)
|
||||
for (f = pnp_fixups; *f->id; f++) {
|
||||
if (!compare_pnp_id(dev->id, f->id))
|
||||
continue;
|
||||
#ifdef DEBUG
|
||||
dev_dbg(&dev->dev, "%s: calling ", f->id);
|
||||
print_fn_descriptor_symbol("%s\n", f->quirk_function);
|
||||
#endif
|
||||
dev_dbg(&dev->dev, "%s: calling %pF\n", f->id,
|
||||
f->quirk_function);
|
||||
f->quirk_function(dev);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user