projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bc11fd
)
PNP: simplify quirk debug output
author
Bjorn Helgaas
<
[email protected]
>
Mon, 28 Apr 2008 09:15:58 +0000
(
02:15
-0700)
committer
Linus Torvalds
<
[email protected]
>
Mon, 28 Apr 2008 15:58:42 +0000
(08:58 -0700)
print_fn_descriptor_symbol() prints the address if we don't have a symbol,
so no need to print both.
Signed-off-by: Bjorn Helgaas <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/pnp/quirks.c
patch
|
blob
|
history
diff --git
a/drivers/pnp/quirks.c
b/drivers/pnp/quirks.c
index 37993206ae5dd149d98672345ef5d16c6c21743c..1e8b1b4c09be81b71efd8a7d222d5c43ee5a6391 100644
(file)
--- a/
drivers/pnp/quirks.c
+++ b/
drivers/pnp/quirks.c
@@
-214,8
+214,8
@@
void pnp_fixup_device(struct pnp_dev *dev)
quirk = pnp_fixups[i].quirk_function;
#ifdef DEBUG
- dev_dbg(&dev->dev, "calling
quirk 0x%p", quirk
);
- print_fn_descriptor_symbol("
:
%s()\n",
+ dev_dbg(&dev->dev, "calling
"
);
+ print_fn_descriptor_symbol("%s()\n",
(unsigned long) *quirk);
#endif
(*quirk)(dev);