]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: wilc1000: rename pstrHostIfGetMacAddress of fuction Handle_GetMacAddress
authorLeo Kim <leo.kim@atmel.com>
Thu, 5 Nov 2015 05:36:06 +0000 (14:36 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
This patch renames pstrHostIfGetMacAddress of fuction Handle_GetMacAddress
to get_mac_addr to avoid CamelCase naming convention.

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/host_interface.c

index 35e94609e6cf0bf0cfff1ff0083c05e748055c60..06994fb91d1552a6bb755725c3e0e123c263decb 100644 (file)
@@ -496,14 +496,14 @@ static s32 Handle_SetMacAddress(struct host_if_drv *hif_drv,
 }
 
 static s32 Handle_GetMacAddress(struct host_if_drv *hif_drv,
-                               struct get_mac_addr *pstrHostIfGetMacAddress)
+                               struct get_mac_addr *get_mac_addr)
 {
        s32 result = 0;
        struct wid wid;
 
        wid.id = (u16)WID_MAC_ADDR;
        wid.type = WID_STR;
-       wid.val = pstrHostIfGetMacAddress->mac_addr;
+       wid.val = get_mac_addr->mac_addr;
        wid.size = ETH_ALEN;
 
        result = send_config_pkt(GET_CFG, &wid, 1,