mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
52e93b8ab4
commit
1f921b9f61
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue