diff options
author | Chaehyun Lim <chaehyun.lim@gmail.com> | 2015-06-11 14:35:55 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-06-11 09:08:59 -0700 |
commit | 4e4467fdd6e89fbbc5208636a85177e4b973ded9 (patch) | |
tree | a7f31d445fe491f0fdce558e3846f4348baa73ec /drivers/staging/wilc1000/wilc_memory.c | |
parent | d85f5326e4a4b1606a0dbb3f8a320a0359fdb2d8 (diff) | |
download | op-kernel-dev-4e4467fdd6e89fbbc5208636a85177e4b973ded9.zip op-kernel-dev-4e4467fdd6e89fbbc5208636a85177e4b973ded9.tar.gz |
staging: wilc1000: remove WILC_Uint32
Use u32 instead of WILC_Uint32.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_memory.c')
-rw-r--r-- | drivers/staging/wilc1000/wilc_memory.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/wilc1000/wilc_memory.c b/drivers/staging/wilc1000/wilc_memory.c index f448275..2282951 100644 --- a/drivers/staging/wilc1000/wilc_memory.c +++ b/drivers/staging/wilc1000/wilc_memory.c @@ -6,8 +6,8 @@ * @date 18 Aug 2010 * @version 1.0 */ -void *WILC_MemoryAlloc(WILC_Uint32 u32Size, tstrWILC_MemoryAttrs *strAttrs, - WILC_Char *pcFileName, WILC_Uint32 u32LineNo) +void *WILC_MemoryAlloc(u32 u32Size, tstrWILC_MemoryAttrs *strAttrs, + WILC_Char *pcFileName, u32 u32LineNo) { if (u32Size > 0) { return kmalloc(u32Size, GFP_ATOMIC); @@ -21,8 +21,8 @@ void *WILC_MemoryAlloc(WILC_Uint32 u32Size, tstrWILC_MemoryAttrs *strAttrs, * @date 18 Aug 2010 * @version 1.0 */ -void *WILC_MemoryCalloc(WILC_Uint32 u32Size, tstrWILC_MemoryAttrs *strAttrs, - WILC_Char *pcFileName, WILC_Uint32 u32LineNo) +void *WILC_MemoryCalloc(u32 u32Size, tstrWILC_MemoryAttrs *strAttrs, + WILC_Char *pcFileName, u32 u32LineNo) { return kcalloc(u32Size, 1, GFP_KERNEL); } @@ -32,8 +32,8 @@ void *WILC_MemoryCalloc(WILC_Uint32 u32Size, tstrWILC_MemoryAttrs *strAttrs, * @date 18 Aug 2010 * @version 1.0 */ -void *WILC_MemoryRealloc(void *pvOldBlock, WILC_Uint32 u32NewSize, - tstrWILC_MemoryAttrs *strAttrs, WILC_Char *pcFileName, WILC_Uint32 u32LineNo) +void *WILC_MemoryRealloc(void *pvOldBlock, u32 u32NewSize, + tstrWILC_MemoryAttrs *strAttrs, WILC_Char *pcFileName, u32 u32LineNo) { if (u32NewSize == 0) { kfree(pvOldBlock); @@ -52,7 +52,7 @@ void *WILC_MemoryRealloc(void *pvOldBlock, WILC_Uint32 u32NewSize, * @version 1.0 */ void WILC_MemoryFree(const void *pvBlock, tstrWILC_MemoryAttrs *strAttrs, - WILC_Char *pcFileName, WILC_Uint32 u32LineNo) + WILC_Char *pcFileName, u32 u32LineNo) { kfree(pvBlock); } |