aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Kim <[email protected]>2015-11-05 14:36:15 +0900
committerGreg Kroah-Hartman <[email protected]>2015-11-15 20:02:47 -0800
commit2db2c8a71b9c121e8ec23809605d18e708b7af09 (patch)
treeca3c696c0b5dbf9ee5ae6d9ed42fd4168c8fd186
parentef7606c5c3b3563970ddd3780b44bbe0144f10f4 (diff)
staging: wilc1000: rename pstrWFIDrv of function mac_close
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 <[email protected]> Signed-off-by: Glen Lee <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/staging/wilc1000/linux_wlan.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c
index 6250abbdb8d5..a8d9bcd9ddcd 100644
--- a/drivers/staging/wilc1000/linux_wlan.c
+++ b/drivers/staging/wilc1000/linux_wlan.c
@@ -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;
}