staging:android: Introduce the use of the managed version of kzalloc
authorHimangi Saraogi <himangi774@gmail.com>
Thu, 6 Mar 2014 23:50:20 +0000 (05:20 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2014 23:36:48 +0000 (15:36 -0800)
commitf71373c06c48660fb9a52e3393f86dac3e9ffd84
treec6292872fd5da6230acae6859612c17a93e05788
parent56c87c0de528320b3efa0d2d5084749acf05d92c
staging:android: Introduce the use of the managed version of kzalloc

This patch moves shared private data kzalloc to managed devm_kzalloc and
cleans now unneccessary kfree in probe and remove functions.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/tegra/tegra_ion.c