diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-12-06 23:10:40 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-01-10 00:51:47 +0100 |
commit | 5f4d6214ef5e9b1ff6a72ddfa387c1d72adfac98 (patch) | |
tree | 66575b6bd2294fdeb4f007486bfdead5991b74ee /fs/binfmt_script.c | |
parent | 9e2d493e74aca105aa86de56dbf80a0a654c4c53 (diff) | |
download | linux-5f4d6214ef5e9b1ff6a72ddfa387c1d72adfac98.tar.bz2 |
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>
Diffstat (limited to 'fs/binfmt_script.c')
0 files changed, 0 insertions, 0 deletions