diff options
author | Vaishali Thakkar <vthakkar1994@gmail.com> | 2014-09-19 22:22:19 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-19 17:13:41 -0700 |
commit | 1f921b9f61b1a324366c8f6a02c5a8e89164ed52 (patch) | |
tree | 7ad5866cc28ffae15e45404f1dac6e131eb3db11 /drivers/staging/rtl8192e | |
parent | 52e93b8ab435978bc12280aa4418ef25fd6e74f2 (diff) | |
download | linux-stable-1f921b9f61b1a324366c8f6a02c5a8e89164ed52.tar.gz linux-stable-1f921b9f61b1a324366c8f6a02c5a8e89164ed52.tar.bz2 linux-stable-1f921b9f61b1a324366c8f6a02c5a8e89164ed52.zip |
Staging: rtl8192e: Fixed style warning relating to printk()
This patch fixes following checkpatch.pl warning in file rtl_dm.c:
WARNING: Prefer [subsystem eg: netdev]_info([subsystem]dev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO .
Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e')
-rw-r--r-- | drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c index 9cc4af84cd8a..b6ce8c3b2f8c 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c @@ -2285,12 +2285,12 @@ void dm_CheckRfCtrlGPIO(void *data) if (priv->bHwRadioOff && (eRfPowerStateToSet == eRfOn)) { RT_TRACE(COMP_RF, "gpiochangeRF - HW Radio ON\n"); - printk(KERN_INFO "gpiochangeRF - HW Radio ON\n"); + netdev_info(dev, "gpiochangeRF - HW Radio ON\n"); priv->bHwRadioOff = false; bActuallySet = true; } else if (!priv->bHwRadioOff && (eRfPowerStateToSet == eRfOff)) { RT_TRACE(COMP_RF, "gpiochangeRF - HW Radio OFF\n"); - printk(KERN_INFO "gpiochangeRF - HW Radio OFF\n"); + netdev_info(dev, "gpiochangeRF - HW Radio OFF\n"); priv->bHwRadioOff = true; bActuallySet = true; } |