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/pnp/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/pnp/quirks.c')
-rw-r--r-- | drivers/pnp/quirks.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pnp/quirks.c b/drivers/pnp/quirks.c index d15e2b77af88..c144bd575611 100644 --- a/drivers/pnp/quirks.c +++ b/drivers/pnp/quirks.c | |||
@@ -338,8 +338,7 @@ void pnp_fixup_device(struct pnp_dev *dev) | |||
338 | if (!compare_pnp_id(dev->id, f->id)) | 338 | if (!compare_pnp_id(dev->id, f->id)) |
339 | continue; | 339 | continue; |
340 | #ifdef DEBUG | 340 | #ifdef DEBUG |
341 | dev_dbg(&dev->dev, "%s: calling ", f->id); | 341 | dev_dbg(&dev->dev, "%s: calling %pF\n", f->id, f->quirk_function); |
342 | print_fn_descriptor_symbol("%s\n", f->quirk_function); | ||
343 | #endif | 342 | #endif |
344 | f->quirk_function(dev); | 343 | f->quirk_function(dev); |
345 | } | 344 | } |