diff options
author | Mahati Chamarthy <mahati.chamarthy@gmail.com> | 2014-09-20 02:40:43 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-19 17:14:30 -0700 |
commit | 4344672830d8500eac97d82976b03e41580c3a04 (patch) | |
tree | c93747451b135b6e74d9de437d4c41084f98fe72 /drivers/staging/rtl8192e | |
parent | 6af197672f2330045c171aed3ea90fb93d89ecc6 (diff) |
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>
Diffstat (limited to 'drivers/staging/rtl8192e')
-rw-r--r-- | drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c index a6d861acf81f..f11c1a22fb8d 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -1054,7 +1054,7 @@ void HTSetConnectBwMode(struct rtllib_device *ieee, Bandwidth = HT_CHANNEL_WIDTH_20; if (pHTInfo->bSwBwInProgress) { - printk(KERN_INFO "%s: bSwBwInProgress!!\n", __func__); + pr_info("%s: bSwBwInProgress!!\n", __func__); return; } if (Bandwidth == HT_CHANNEL_WIDTH_20_40) { @@ -1074,7 +1074,7 @@ void HTSetConnectBwMode(struct rtllib_device *ieee, 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->bSwBwInProgress = true; |