diff options
author | Joe Perches <joe@perches.com> | 2011-05-02 19:49:14 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-05-11 13:03:20 -0400 |
commit | 0e4e06ae5e895864b4a4bca7eec2e3015fddca98 (patch) | |
tree | e4632ffd53eef98c302a11d732c491703368b9ed /drivers/net/wireless/libertas/defs.h | |
parent | 9fcce61c0eddbe21f42cb47bd5a366a6eb7956ce (diff) |
libertas: Convert lbs_pr_<level> to pr_<level>
Use the standard pr_<level> functions eases grep a bit.
Added a few missing terminating newlines to messages.
Coalesced long formats.
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/defs.h')
-rw-r--r-- | drivers/net/wireless/libertas/defs.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/wireless/libertas/defs.h b/drivers/net/wireless/libertas/defs.h index 92b5b1f8fd75..ab966f08024a 100644 --- a/drivers/net/wireless/libertas/defs.h +++ b/drivers/net/wireless/libertas/defs.h | |||
@@ -89,13 +89,6 @@ do { if ((lbs_debug & (grp)) == (grp)) \ | |||
89 | #define lbs_deb_spi(fmt, args...) LBS_DEB_LL(LBS_DEB_SPI, " spi", fmt, ##args) | 89 | #define lbs_deb_spi(fmt, args...) LBS_DEB_LL(LBS_DEB_SPI, " spi", fmt, ##args) |
90 | #define lbs_deb_cfg80211(fmt, args...) LBS_DEB_LL(LBS_DEB_CFG80211, " cfg80211", fmt, ##args) | 90 | #define lbs_deb_cfg80211(fmt, args...) LBS_DEB_LL(LBS_DEB_CFG80211, " cfg80211", fmt, ##args) |
91 | 91 | ||
92 | #define lbs_pr_info(format, args...) \ | ||
93 | printk(KERN_INFO DRV_NAME": " format, ## args) | ||
94 | #define lbs_pr_err(format, args...) \ | ||
95 | printk(KERN_ERR DRV_NAME": " format, ## args) | ||
96 | #define lbs_pr_alert(format, args...) \ | ||
97 | printk(KERN_ALERT DRV_NAME": " format, ## args) | ||
98 | |||
99 | #ifdef DEBUG | 92 | #ifdef DEBUG |
100 | static inline void lbs_deb_hex(unsigned int grp, const char *prompt, u8 *buf, int len) | 93 | static inline void lbs_deb_hex(unsigned int grp, const char *prompt, u8 *buf, int len) |
101 | { | 94 | { |