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 21:47:52 +0100 |
commit | 1c16697bf9d5b206cb0d2b905a54de5e077296be (patch) | |
tree | 1d28548fb55a4178c23365e647ec626d4cc62d68 /drivers/video/bf54x-lq043fb.c | |
parent | udlfb: remove sysfs framebuffer device with USB .disconnect() (diff) | |
download | linux-1c16697bf9d5b206cb0d2b905a54de5e077296be.tar.xz 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/bf54x-lq043fb.c')
0 files changed, 0 insertions, 0 deletions