diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-07-31 10:21:35 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-13 21:29:31 +0200 |
commit | d91e0139351b040ec558accab84bf59d5cef5552 (patch) | |
tree | a64d081eabd076987b404b61d30baa1a98899355 /net/packet/Makefile | |
parent | [media] drivers/media/radio/radio-timb.c: use devm_ functions (diff) | |
download | linux-d91e0139351b040ec558accab84bf59d5cef5552.tar.xz linux-d91e0139351b040ec558accab84bf59d5cef5552.zip |
[media] drivers/media/radio/radio-wl1273.c: use devm_ functions
The various devm_ functions allocate memory that is released when a driver
detaches. This patch uses these functions for data that is allocated in
the probe function of a platform device and is only freed in the remove
function.
In two cases, the original memory allocation function was kmalloc, which
has been changed to a zeroing allocation to benefit from the devm function.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'net/packet/Makefile')
0 files changed, 0 insertions, 0 deletions