commit | 29b7d9ad9112a95757c8030421dc3bd1b28ad8b5 | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Thu Dec 06 23:10:40 2012 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Jan 11 14:49:57 2013 -0500 |
tree | ae02dc7909e80c37aff87222fd9e99270a3e3839 | |
parent | e93d083f42a126b5ad8137b5f0e8d6f900b332b8 [diff] |
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 <Julia.Lawall@lip6.fr> Signed-off-by: John W. Linville <linville@tuxdriver.com>