diff options
author | Julia Lawall <julia.lawall@lip6.fr> | 2012-01-21 16:01:58 +0100 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-01-28 20:47:52 +0000 |
commit | 1c16697bf9d5b206cb0d2b905a54de5e077296be (patch) | |
tree | 1d28548fb55a4178c23365e647ec626d4cc62d68 /drivers/video/omap | |
parent | 92a9c19a89af2ca219fbb040a0059f414a4b7223 (diff) | |
download | talos-obmc-linux-1c16697bf9d5b206cb0d2b905a54de5e077296be.tar.gz talos-obmc-linux-1c16697bf9d5b206cb0d2b905a54de5e077296be.zip |
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/omap')
0 files changed, 0 insertions, 0 deletions