diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-12-06 22:10:40 (GMT) |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-01-09 23:51:47 (GMT) |
commit | 5f4d6214ef5e9b1ff6a72ddfa387c1d72adfac98 (patch) | |
tree | 66575b6bd2294fdeb4f007486bfdead5991b74ee /sound/oss | |
parent | 9e2d493e74aca105aa86de56dbf80a0a654c4c53 (diff) | |
download | linux-5f4d6214ef5e9b1ff6a72ddfa387c1d72adfac98.tar.xz |
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 'sound/oss')
0 files changed, 0 insertions, 0 deletions