staging: wilc1000: remove typedef from the struct tstrHostIfGetMacAddress
authorTony Cho <tony.cho@atmel.com>
Mon, 21 Sep 2015 03:16:55 +0000 (12:16 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Sep 2015 06:00:27 +0000 (23:00 -0700)
This patch removes typedef from the struct tstrHostIfGetMacAddress and
renames it get_mac_addr in order to comply with the Linux coding style.

Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/host_interface.h

index c1fc145cbdea7f2533933ee0c6e4149a055afeba..7c5b49c165ef4b9b9c1beab60b93c86d5ec76825 100644 (file)
@@ -435,7 +435,7 @@ union message_body {
        struct set_multicast strHostIfSetMulti;
        struct op_mode strHostIfSetOperationMode;
        struct set_mac_addr strHostIfSetMacAddress;
-       tstrHostIfGetMacAddress strHostIfGetMacAddress;
+       struct get_mac_addr strHostIfGetMacAddress;
        tstrHostIfBASessionInfo strHostIfBASessionInfo;
        tstrHostIfRemainOnChan strHostIfRemainOnChan;
        tstrHostIfRegisterFrame strHostIfRegisterFrame;
@@ -889,7 +889,8 @@ static s32 Handle_SetMacAddress(tstrWILC_WFIDrv *drvHandler,
  *  @date              JAN 2013
  *  @version   8.0
  */
-static s32 Handle_GetMacAddress(tstrWILC_WFIDrv *drvHandler, tstrHostIfGetMacAddress *pstrHostIfGetMacAddress)
+static s32 Handle_GetMacAddress(tstrWILC_WFIDrv *drvHandler,
+                               struct get_mac_addr *pstrHostIfGetMacAddress)
 {
 
        s32 s32Error = 0;
index fc7c521f46ee3ed5362cd6528730f024892ef909..c8b482fa3c2c62adf5b2c0c99cf0ce3f7b80fa6d 100644 (file)
@@ -267,9 +267,9 @@ struct set_mac_addr {
        u8 u8MacAddress[ETH_ALEN];
 };
 
-typedef struct {
+struct get_mac_addr {
        u8 *u8MacAddress;
-} tstrHostIfGetMacAddress;
+};
 
 typedef struct {
        u8 au8Bssid[ETH_ALEN];
This page took 0.028521 seconds and 5 git commands to generate.