public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
From: chaehyun lim <chaehyun.lim@gmail.com>
To: kernel-janitors@vger.kernel.org
Subject: [PATCH V2 1/2] staging: wilc1000: remove UWORD8
Date: Thu, 04 Jun 2015 00:01:35 +0000	[thread overview]
Message-ID: <1433376096-12532-1-git-send-email-chaehyun.lim@gmail.com> (raw)

Use u8 instead of UWORD8.

Signed-off-by: chaehyun lim <chaehyun.lim@gmail.com>
---
V2 : remove the defintion of UWORD8

 drivers/staging/wilc1000/coreconfigurator.c | 2 +-
 drivers/staging/wilc1000/host_interface.c   | 2 +-
 drivers/staging/wilc1000/itypes.h           | 1 -
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c
index 01625bd..958cf0b 100644
--- a/drivers/staging/wilc1000/coreconfigurator.c
+++ b/drivers/staging/wilc1000/coreconfigurator.c
@@ -498,7 +498,7 @@ INLINE WILC_Uint32 get_beacon_timestamp_lo(WILC_Uint8 *data)
 	return time_stamp;
 }
 
-INLINE UWORD32 get_beacon_timestamp_hi(UWORD8 *data)
+INLINE UWORD32 get_beacon_timestamp_hi(u8 *data)
 {
 	UWORD32 time_stamp = 0;
 	UWORD32 index    = (MAC_HDR_LEN + 4);
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index fcbadd1..8e00f71 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -3692,7 +3692,7 @@ static void Handle_DelAllSta(void *drvHandler, tstrHostIFDelAllSta *pstrDelAllSt
 	WILC_Uint8 *pu8CurrByte;
 	tstrWILC_WFIDrv *pstrWFIDrv = (tstrWILC_WFIDrv *)drvHandler;
 	WILC_Uint8 i;
-	UWORD8 au8Zero_Buff[6] = {0};
+	u8 au8Zero_Buff[6] = {0};
 	strWID.u16WIDid = (WILC_Uint16)WID_DEL_ALL_STA;
 	strWID.enuWIDtype = WID_STR;
 	strWID.s32ValueSize = (pstrDelAllStaParam->u8Num_AssocSta * ETH_ALEN) + 1;
diff --git a/drivers/staging/wilc1000/itypes.h b/drivers/staging/wilc1000/itypes.h
index 6c2bd79..91c8f0d 100644
--- a/drivers/staging/wilc1000/itypes.h
+++ b/drivers/staging/wilc1000/itypes.h
@@ -46,7 +46,6 @@ typedef short WORD16;
 typedef char WORD8;
 typedef unsigned int UWORD32;
 typedef unsigned short UWORD16;
-typedef unsigned char UWORD8;
 
 /*****************************************************************************/
 /* Enums                                                                     */
-- 
1.9.1


             reply	other threads:[~2015-06-04  0:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-04  0:01 chaehyun lim [this message]
2015-06-08 20:09 ` [PATCH V2 1/2] staging: wilc1000: remove UWORD8 Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1433376096-12532-1-git-send-email-chaehyun.lim@gmail.com \
    --to=chaehyun.lim@gmail.com \
    --cc=kernel-janitors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox