staging: wilc1000: rename pstrWFIDrv of function mac_close
authorLeo Kim <leo.kim@atmel.com>
Thu, 5 Nov 2015 05:36:15 +0000 (14:36 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
This patch renames pstrWFIDrv of function mac_close to hif_drv
to avoid CamelCase naming convention.
And, some debug print modification that has been included name 'pstrWFIDrv'.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c

index 6250abbdb8d522cc6816251d93981ded6b8d62b4..a8d9bcd9ddcda8f012602a84dbfbdf1e17945bea 100644 (file)
@@ -1430,7 +1430,7 @@ int mac_close(struct net_device *ndev)
 {
        struct wilc_priv *priv;
        perInterface_wlan_t *nic;
-       struct host_if_drv *pstrWFIDrv;
+       struct host_if_drv *hif_drv;
        struct wilc *wl;
 
        nic = netdev_priv(ndev);
@@ -1449,7 +1449,7 @@ int mac_close(struct net_device *ndev)
                return 0;
        }
 
-       pstrWFIDrv = (struct host_if_drv *)priv->hWILCWFIDrv;
+       hif_drv = (struct host_if_drv *)priv->hWILCWFIDrv;
 
        PRINT_D(GENERIC_DBG, "Mac close\n");
 
@@ -1458,8 +1458,8 @@ int mac_close(struct net_device *ndev)
                return 0;
        }
 
-       if (!pstrWFIDrv) {
-               PRINT_ER("pstrWFIDrv = NULL\n");
+       if (!hif_drv) {
+               PRINT_ER("hif_drv = NULL\n");
                return 0;
        }
 
This page took 0.025528 seconds and 5 git commands to generate.