]> git.baikalelectronics.ru Git - kernel.git/commit
staging: cxt1e1: replace OS_kmalloc/OS_kfree with kzalloc/kfree
authorDaeseok Youn <daeseok.youn@gmail.com>
Fri, 18 Apr 2014 00:31:35 +0000 (09:31 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Apr 2014 22:58:55 +0000 (15:58 -0700)
commit197e4bef507da999909346f418046631b5f28956
treed4eb51ecab7da322c570d52f23a5ea91c0f6628a
parentbc8b16fb7907ae7b1951f9ba48437ec34c39c7d3
staging: cxt1e1: replace OS_kmalloc/OS_kfree with kzalloc/kfree

Replace OS_kmalloc/OS_kfree with kzalloc/kfree.
And also some allocation doesn't need to use GFP_DMA
so just use GFP_KERNEL.

c4_new() function is never called, remove it.

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/cxt1e1/hwprobe.c
drivers/staging/cxt1e1/linux.c
drivers/staging/cxt1e1/musycc.c
drivers/staging/cxt1e1/pmcc4_drv.c
drivers/staging/cxt1e1/sbecom_inline_linux.h
drivers/staging/cxt1e1/sbecrc.c
drivers/staging/cxt1e1/sbeproc.c