diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-08-19 18:53:26 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-10-10 23:27:18 -0400 |
commit | c865d2f6eb160c15b74245b4891c8e945d67d96c (patch) | |
tree | 7ccbb4e90585d1e1d01aab70a4029b111caf96e5 /include/linux/pnp.h | |
parent | 958a1fdd3904b009c926cb840be48ce3c5f2389e (diff) |
PNP: convert the last few pnp_info() uses to printk()
There are only a few remaining uses of pnp_info(), so I just
converted them to printk and removed the pnp_err(), pnp_info(),
pnp_warn(), and pnp_dbg() wrappers.
I also removed a couple debug messages that don't seem useful any
more ("driver registered", "driver unregistered", "driver attached").
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>
Diffstat (limited to 'include/linux/pnp.h')
-rw-r--r-- | include/linux/pnp.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/pnp.h b/include/linux/pnp.h index be764e514e35..05daecec16c5 100644 --- a/include/linux/pnp.h +++ b/include/linux/pnp.h | |||
@@ -483,14 +483,4 @@ static inline void pnp_unregister_driver(struct pnp_driver *drv) { } | |||
483 | 483 | ||
484 | #endif /* CONFIG_PNP */ | 484 | #endif /* CONFIG_PNP */ |
485 | 485 | ||
486 | #define pnp_err(format, arg...) printk(KERN_ERR "pnp: " format "\n" , ## arg) | ||
487 | #define pnp_info(format, arg...) printk(KERN_INFO "pnp: " format "\n" , ## arg) | ||
488 | #define pnp_warn(format, arg...) printk(KERN_WARNING "pnp: " format "\n" , ## arg) | ||
489 | |||
490 | #ifdef CONFIG_PNP_DEBUG | ||
491 | #define pnp_dbg(format, arg...) printk(KERN_DEBUG "pnp: " format "\n" , ## arg) | ||
492 | #else | ||
493 | #define pnp_dbg(format, arg...) do {} while (0) | ||
494 | #endif | ||
495 | |||
496 | #endif /* _LINUX_PNP_H */ | 486 | #endif /* _LINUX_PNP_H */ |