summaryrefslogtreecommitdiff
path: root/net/nfc/core.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2012-12-06 23:10:40 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2013-01-10 00:51:47 +0100
commit5f4d6214ef5e9b1ff6a72ddfa387c1d72adfac98 (patch)
tree66575b6bd2294fdeb4f007486bfdead5991b74ee /net/nfc/core.c
parent9e2d493e74aca105aa86de56dbf80a0a654c4c53 (diff)
downloadlwn-5f4d6214ef5e9b1ff6a72ddfa387c1d72adfac98.tar.gz
lwn-5f4d6214ef5e9b1ff6a72ddfa387c1d72adfac98.zip
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 'net/nfc/core.c')
0 files changed, 0 insertions, 0 deletions