[PATCH 0/5] staging: wilc1000: remove kmalloc wrappers

Mike Rapoport
2015-09-10T10:28:05Z

The wilc_memory.[ch] provide wrappers to kmalloc that effectively boil down to
calling to kmalloc with flags=GFP_ATOMIC. Replacing the calls to these wrappers
with direct calls to kmalloc allows removal of the wilc_memory.[ch] files.

Mike Rapoport (5):
staging: wilc1000: host_interface.c: replace WILC_MALLOC with kmalloc
staging: wilc1000: wilc_wfi_cfgoperations.c: replace WILC_MALLOC with
kmalloc
staging: wilc1000: do not include wilc_memory.h
staging: wilc1000: make: remove wilc_memory.o from wilc1000-objs
staging: wilc1000: remove wilc_memory.[ch]

drivers/staging/wilc1000/Makefile | 2 +-
drivers/staging/wilc1000/host_interface.c | 145 +++++++++++++---------
drivers/staging/wilc1000/wilc_memory.c | 16 ---
drivers/staging/wilc1000/wilc_memory.h | 66 ----------
drivers/staging/wilc1000/wilc_msgqueue.h | 1 -
drivers/staging/wilc1000/wilc_oswrapper.h | 3 -
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 56 ++++++---
7 files changed, 122 insertions(+), 167 deletions(-)
delete mode 100644 drivers/staging/wilc1000/wilc_memory.c
delete mode 100644 drivers/staging/wilc1000/wilc_memory.h

--
2.1.0