commit | 5f4d6214ef5e9b1ff6a72ddfa387c1d72adfac98 | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Thu Dec 06 23:10:40 2012 +0100 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Thu Jan 10 00:51:47 2013 +0100 |
tree | 66575b6bd2294fdeb4f007486bfdead5991b74ee | |
parent | 9e2d493e74aca105aa86de56dbf80a0a654c4c53 [diff] |
NFC: nfcwilink: Use devm_kzalloc devm_kzalloc allocates memory that is released when a driver detaches. This patch uses devm_kzalloc for data that is allocated in the probe function of a platform device and is only freed in the remove function. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>