summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/rtlwifi/rtl8192se/rf.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-07-20 19:51:35 +0400
committerJohn W. Linville <linville@tuxdriver.com>2011-07-21 22:52:05 +0400
commit292b11926fec139c0ff103bc229bc6c079d0862f (patch)
treeb960f9363ee4eaa0846039e2e4f17e796a055651 /drivers/net/wireless/rtlwifi/rtl8192se/rf.c
parent6054069a03f77ffa686e2dfd5f07cff8ee40b72d (diff)
downloadlinux-292b11926fec139c0ff103bc229bc6c079d0862f.tar.xz
rtlwifi: Convert printks to pr_<level>
Use the current logging styles. Add pr_fmt where appropriate. Remove now unnecessary prefixes from printks. Convert hard coded prefix to __func__. Add a missing "\n" to a format. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192se/rf.c')
-rw-r--r--drivers/net/wireless/rtlwifi/rtl8192se/rf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192se/rf.c b/drivers/net/wireless/rtlwifi/rtl8192se/rf.c
index c6e3a4ca42f9..0ad50fe44aa2 100644
--- a/drivers/net/wireless/rtlwifi/rtl8192se/rf.c
+++ b/drivers/net/wireless/rtlwifi/rtl8192se/rf.c
@@ -27,6 +27,8 @@
*
*****************************************************************************/
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include "../wifi.h"
#include "reg.h"
#include "def.h"
@@ -507,7 +509,7 @@ bool rtl92s_phy_rf6052_config(struct ieee80211_hw *hw)
}
if (rtstatus != true) {
- printk(KERN_ERR "Radio[%d] Fail!!", rfpath);
+ pr_err("Radio[%d] Fail!!\n", rfpath);
goto fail;
}