staging: dgap: uses kzalloc for allocating memory
authorLidza Louina <lidza.louina@gmail.com>
Fri, 20 Dec 2013 02:12:12 +0000 (21:12 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Dec 2013 16:54:46 +0000 (08:54 -0800)
commit0c5b5632d2ecc0e4756deaeed3364b0fdcbd56e3
tree418104844911e78bae1baeac2530dae51b8969b2
parentf0dcc9fa42a21d850178b53586f9bd5d6fc94e12
staging: dgap: uses kzalloc for allocating memory

Originally, this driver created it's own allocating
function. This patch removes that function and calls
kzalloc directly.

This patch affects:
 - driver.c
 - driver.h
 - fep5.c
 - tty.c

Signed-off-by: Lidza Louina <lidza.louina@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap_driver.c
drivers/staging/dgap/dgap_driver.h
drivers/staging/dgap/dgap_fep5.c
drivers/staging/dgap/dgap_tty.c