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>
This commit is contained in:

committed by
John W. Linville

parent
6054069a03
commit
292b11926f
@@ -27,6 +27,8 @@
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
||||
|
||||
#include "../wifi.h"
|
||||
#include "../pci.h"
|
||||
#include "../ps.h"
|
||||
@@ -1016,8 +1018,7 @@ static bool _rtl92s_phy_bb_config_parafile(struct ieee80211_hw *hw)
|
||||
rtstatus = _rtl92s_phy_config_bb(hw, BASEBAND_CONFIG_AGC_TAB);
|
||||
|
||||
if (rtstatus != true) {
|
||||
printk(KERN_ERR "_rtl92s_phy_bb_config_parafile(): "
|
||||
"AGC Table Fail\n");
|
||||
pr_err("%s(): AGC Table Fail\n", __func__);
|
||||
goto phy_BB8190_Config_ParaFile_Fail;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user