From: Julia Lawall Date: Thu, 6 Dec 2012 22:10:40 +0000 (+0100) Subject: drivers/nfc/nfcwilink.c: use devm_kzalloc X-Git-Tag: v3.9-rc1~139^2~242^2^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29b7d9ad9112a95757c8030421dc3bd1b28ad8b5;p=pandora-kernel.git drivers/nfc/nfcwilink.c: 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: John W. Linville --- Reading git-diff-tree failed