diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-12-06 23:10:40 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-01-11 14:49:57 -0500 |
commit | 29b7d9ad9112a95757c8030421dc3bd1b28ad8b5 (patch) | |
tree | ae02dc7909e80c37aff87222fd9e99270a3e3839 /drivers/ssb | |
parent | e93d083f42a126b5ad8137b5f0e8d6f900b332b8 (diff) | |
download | linux-29b7d9ad9112a95757c8030421dc3bd1b28ad8b5.tar.bz2 |
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>
Diffstat (limited to 'drivers/ssb')
0 files changed, 0 insertions, 0 deletions