diff options
author | Julia Lawall <julia.lawall@lip6.fr> | 2012-01-21 19:01:58 +0400 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-01-29 00:47:52 +0400 |
commit | 1c16697bf9d5b206cb0d2b905a54de5e077296be (patch) | |
tree | 1d28548fb55a4178c23365e647ec626d4cc62d68 /drivers/video/msm | |
parent | 92a9c19a89af2ca219fbb040a0059f414a4b7223 (diff) | |
download | linux-1c16697bf9d5b206cb0d2b905a54de5e077296be.tar.xz |
drivers/video/au*fb.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 au1100fb.c, the probe function now returns -ENODEV on failure.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Acked-by: Manuel Lauss <manuel.lauss@googlemail.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/msm')
0 files changed, 0 insertions, 0 deletions