From: Julia Lawall Date: Thu, 6 Dec 2012 22:10:40 +0000 (+0100) Subject: NFC: nfcwilink: Use devm_kzalloc X-Git-Tag: v3.9-rc1~139^2~242^2^2~26^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f4d6214ef5e9b1ff6a72ddfa387c1d72adfac98;p=pandora-kernel.git 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 Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed