Staging: rtl8187se: fix printk() should include kern_ facility level
authorEbru Akagunduz <ebru.akagunduz@gmail.com>
Sun, 10 Nov 2013 17:10:31 +0000 (19:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 Nov 2013 17:50:40 +0000 (09:50 -0800)
Fix checkpatch.pl issues with printk() should
include kern_ facility level in r8185b_init.c

Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8187se/r8185b_init.c

index dc52a3e584d838a7fca7a64e5d551df729c0a2d7..f2f0dc7d4e9a4f2fd15d480e7f896b1d505b841d 100644 (file)
@@ -497,7 +497,7 @@ static void ZEBRA_Config_85BASIC_HardCode(struct net_device *dev)
          */
                RF_WriteReg(dev, 0x0f, (priv->XtalCal_Xin<<5) |
                            (priv->XtalCal_Xout<<1) | BIT11 | BIT9); mdelay(1);
-               printk("ZEBRA_Config_85BASIC_HardCode(): (%02x)\n",
+               netdev_info(dev, "ZEBRA_Config_85BASIC_HardCode(): (%02x)\n",
                      (priv->XtalCal_Xin<<5) | (priv->XtalCal_Xout<<1) |
                       BIT11 | BIT9);
        } else {
@@ -1125,7 +1125,7 @@ bool MgntActSet_RF_State(struct net_device *dev,
                                 *      to be stuck here.
                                 */
                                if (RFWaitCounter > 1000) { /* 1sec */
-                                       printk("MgntActSet_RF_State(): Wait too long to set RF\n");
+                                       netdev_info(dev, "MgntActSet_RF_State(): Wait too long to set RF\n");
                                        /* TODO: Reset RF state? */
                                        return false;
                                }