diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-08-19 16:53:26 -0600 |
---|---|---|
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) | |
download | linux-c865d2f6eb160c15b74245b4891c8e945d67d96c.tar.gz linux-c865d2f6eb160c15b74245b4891c8e945d67d96c.tar.bz2 linux-c865d2f6eb160c15b74245b4891c8e945d67d96c.zip |
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) { } #endif /* CONFIG_PNP */ -#define pnp_err(format, arg...) printk(KERN_ERR "pnp: " format "\n" , ## arg) -#define pnp_info(format, arg...) printk(KERN_INFO "pnp: " format "\n" , ## arg) -#define pnp_warn(format, arg...) printk(KERN_WARNING "pnp: " format "\n" , ## arg) - -#ifdef CONFIG_PNP_DEBUG -#define pnp_dbg(format, arg...) printk(KERN_DEBUG "pnp: " format "\n" , ## arg) -#else -#define pnp_dbg(format, arg...) do {} while (0) -#endif - #endif /* _LINUX_PNP_H */ |