瀏覽代碼

Staging: rtl8192e: Fix printk style warning

This fixes the following checkpatch.pl warnings:
WARNING: Prefer [subsystem eg: netdev]_info([subsystem]dev, ... then dev_info(dev, ... then pr_info(...  to printk(KERN_INFO ...

Signed-off-by: Mahati Chamarthy <mahati.chamarthy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Mahati Chamarthy 11 年之前
父節點
當前提交
4344672830
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      drivers/staging/rtl8192e/rtl819x_HTProc.c

+ 2 - 2
drivers/staging/rtl8192e/rtl819x_HTProc.c

@@ -1054,7 +1054,7 @@ void HTSetConnectBwMode(struct rtllib_device *ieee,
 		Bandwidth = HT_CHANNEL_WIDTH_20;
 		Bandwidth = HT_CHANNEL_WIDTH_20;
 
 
 	if (pHTInfo->bSwBwInProgress) {
 	if (pHTInfo->bSwBwInProgress) {
-		printk(KERN_INFO "%s: bSwBwInProgress!!\n", __func__);
+		pr_info("%s: bSwBwInProgress!!\n", __func__);
 		return;
 		return;
 	}
 	}
 	if (Bandwidth == HT_CHANNEL_WIDTH_20_40) {
 	if (Bandwidth == HT_CHANNEL_WIDTH_20_40) {
@@ -1074,7 +1074,7 @@ void HTSetConnectBwMode(struct rtllib_device *ieee,
 		pHTInfo->CurSTAExtChnlOffset = HT_EXTCHNL_OFFSET_NO_EXT;
 		pHTInfo->CurSTAExtChnlOffset = HT_EXTCHNL_OFFSET_NO_EXT;
 	}
 	}
 
 
-	printk(KERN_INFO "%s():pHTInfo->bCurBW40MHz:%x\n", __func__,
+	pr_info("%s():pHTInfo->bCurBW40MHz:%x\n", __func__,
 	       pHTInfo->bCurBW40MHz);
 	       pHTInfo->bCurBW40MHz);
 
 
 	pHTInfo->bSwBwInProgress = true;
 	pHTInfo->bSwBwInProgress = true;