Skip to contentSkip to conversation

staging: wilc1000: remove UWORD32

PATCH New Chaehyun Lim 1 participant 1 message Jun 11, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v4 2/9 staging: wilc1000: remove UWORD32

Use u32 instead of UWORD32.

---
V4: rebased on the top of staging-testing
V3: capitalize the name on the From and the Signed-off-by
V2: remove the definition of UWORD32

 drivers/staging/wilc1000/coreconfigurator.c | 6 +++---
 drivers/staging/wilc1000/itypes.h           | 1 -
 2 files changed, 3 insertions(+), 4 deletions(-)
drivers/staging/wilc1000/coreconfigurator.c +3 -3
index 339b2a5..d3a0069 100644
@@ -499,10 +499,10 @@ INLINE WILC_Uint32 get_beacon_timestamp_lo(u8 *data)
 	return time_stamp;
 }
 
-INLINE UWORD32 get_beacon_timestamp_hi(u8 *data)
+INLINE u32 get_beacon_timestamp_hi(u8 *data)
 {
-	UWORD32 time_stamp = 0;
-	UWORD32 index    = (MAC_HDR_LEN + 4);
+	u32 time_stamp = 0;
+	u32 index    = (MAC_HDR_LEN + 4);
 
 	time_stamp |= data[index++];
 	time_stamp |= (data[index++] << 8);
drivers/staging/wilc1000/itypes.h +0 -1
index 91c8f0d..c99f8ca 100644
@@ -44,7 +44,6 @@
 typedef int WORD32;
 typedef short WORD16;
 typedef char WORD8;
-typedef unsigned int UWORD32;
 typedef unsigned short UWORD16;
 
 /*****************************************************************************/
Signature · 1 line
1.9.1