diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-12-07 02:10:40 +0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-01-10 03:51:47 +0400 |
commit | 5f4d6214ef5e9b1ff6a72ddfa387c1d72adfac98 (patch) | |
tree | 66575b6bd2294fdeb4f007486bfdead5991b74ee /include/net/nfc/hci.h | |
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 'include/net/nfc/hci.h')
0 files changed, 0 insertions, 0 deletions