staging: wilc1000: remove typedef from the struct tstrHostIfSetMacAddress
authorTony Cho <tony.cho@atmel.com>
Mon, 21 Sep 2015 03:16:54 +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 tstrHostIfSetMacAddress and
renames it set_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 68df96bc3634dfb3af9a9090e72f8645396ca758..c1fc145cbdea7f2533933ee0c6e4149a055afeba 100644 (file)
@@ -434,7 +434,7 @@ union message_body {
        struct drv_handler strHostIfSetDrvHandler;
        struct set_multicast strHostIfSetMulti;
        struct op_mode strHostIfSetOperationMode;
-       tstrHostIfSetMacAddress strHostIfSetMacAddress;
+       struct set_mac_addr strHostIfSetMacAddress;
        tstrHostIfGetMacAddress strHostIfGetMacAddress;
        tstrHostIfBASessionInfo strHostIfBASessionInfo;
        tstrHostIfRemainOnChan strHostIfRemainOnChan;
@@ -846,7 +846,8 @@ s32 Handle_get_IPAddress(tstrWILC_WFIDrv *drvHandler, u8 *pu8IPAddr, u8 idx)
  *  @date              November 2013
  *  @version   7.0
  */
-static s32 Handle_SetMacAddress(tstrWILC_WFIDrv *drvHandler, tstrHostIfSetMacAddress *pstrHostIfSetMacAddress)
+static s32 Handle_SetMacAddress(tstrWILC_WFIDrv *drvHandler,
+                               struct set_mac_addr *pstrHostIfSetMacAddress)
 {
 
        s32 s32Error = 0;
index 101e51f1920d0d0fda3bfede0d084885ff2d8f24..fc7c521f46ee3ed5362cd6528730f024892ef909 100644 (file)
@@ -263,9 +263,9 @@ struct op_mode {
        u32 u32Mode;
 };
 
-typedef struct {
+struct set_mac_addr {
        u8 u8MacAddress[ETH_ALEN];
-} tstrHostIfSetMacAddress;
+};
 
 typedef struct {
        u8 *u8MacAddress;
This page took 0.028273 seconds and 5 git commands to generate.