diff options
| author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-07-31 05:21:37 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-13 16:28:57 -0300 |
| commit | 2f20c490aa3d8725305cb6333520b1c6a39858e0 (patch) | |
| tree | e5927844ccd53c54675602c01237a214374c87f2 /scripts/patch-kernel | |
| parent | 95aeead28a2597cfddf4bb11bcade1b518adf83c (diff) | |
| download | linux-2f20c490aa3d8725305cb6333520b1c6a39858e0.tar.gz linux-2f20c490aa3d8725305cb6333520b1c6a39858e0.zip | |
[media] drivers/media/radio/radio-timb.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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
