From: Julia Lawall Date: Sat, 21 Jan 2012 15:01:58 +0000 (+0100) Subject: drivers/video/au*fb.c: use devm_ functions X-Git-Tag: v3.4-rc1~125^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c16697bf9d5b206cb0d2b905a54de5e077296be;p=pandora-kernel.git 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 Acked-by: Manuel Lauss Signed-off-by: Florian Tobias Schandinat --- Reading git-diff-tree failed