diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-07-31 08:21:36 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-13 19:29:58 (GMT) |
commit | 28e9cc8056bddce5863e455028369cd3b01ef941 (patch) | |
tree | bf21d38188f113c245cc2e018f3dfeae677bbd39 /drivers/staging/media | |
parent | d91e0139351b040ec558accab84bf59d5cef5552 (diff) | |
download | linux-fsl-qoriq-28e9cc8056bddce5863e455028369cd3b01ef941.tar.xz |
[media] drivers/media/radio/radio-si4713.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.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/media')
0 files changed, 0 insertions, 0 deletions