diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2013-02-28 02:05:44 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-28 04:10:23 +0100 |
commit | 507063b2a435b24951bce8e1f67ab65cda490f1b (patch) | |
tree | d166bc08e67dd39a2c360de5558ae0499a2ac6a2 /crypto | |
parent | Documentation/DMA-API-HOWTO.txt: fix typo (diff) | |
download | linux-507063b2a435b24951bce8e1f67ab65cda490f1b.tar.xz linux-507063b2a435b24951bce8e1f67ab65cda490f1b.zip |
drivers/pps/clients/pps-gpio.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>
Cc: Rodolfo Giometti <giometti@enneenne.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions