diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-20 15:59:12 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-20 15:59:12 -0700 |
commit | 55a27055b9ea5aabf8206ed6b7777c79f4e840c3 (patch) | |
tree | 29867609589a69e8a86e6e76b0885f0dbf4ce78f /drivers/staging/csr/csr_msgconv.c | |
parent | 4becf12de1a4efefd28e057750e35f4ceb32dd1d (diff) | |
download | linux-55a27055b9ea5aabf8206ed6b7777c79f4e840c3.tar.bz2 |
staging: csr: remove CsrPmemFree()
It's just a wrapper around kfree() so call that instead.
Cc: Mikko Virkkilä <mikko.virkkila@bluegiga.com>
Cc: Lauri Hintsala <Lauri.Hintsala@bluegiga.com>
Cc: Riku Mettälä <riku.mettala@bluegiga.com>
Cc: Veli-Pekka Peltola <veli-pekka.peltola@bluegiga.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/csr/csr_msgconv.c')
-rw-r--r-- | drivers/staging/csr/csr_msgconv.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/staging/csr/csr_msgconv.c b/drivers/staging/csr/csr_msgconv.c index 04ce4ae49ccd..42e0a4aef0a7 100644 --- a/drivers/staging/csr/csr_msgconv.c +++ b/drivers/staging/csr/csr_msgconv.c @@ -10,6 +10,7 @@ #include <linux/module.h> #include <linux/types.h> +#include <linux/slab.h> #include "csr_pmem.h" #include "csr_panic.h" #include "csr_sched.h" @@ -312,11 +313,11 @@ void CsrMsgConvDeinit(void) { CsrMsgConvPrimEntry *s_next; s_next = s->next; - CsrPmemFree(s); + kfree(s); s = s_next; } - CsrPmemFree(converter); + kfree(converter); converter = NULL; } EXPORT_SYMBOL_GPL(CsrMsgConvDeinit); |