drivers/video/fsl-diu-fb.c: use devm_ functions
authorDamien Cassou <damien.cassou@lifl.fr>
Tue, 31 Jul 2012 16:39:20 +0000 (18:39 +0200)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Thu, 23 Aug 2012 13:06:12 +0000 (13:06 +0000)
commitc1f383d97c5b0db5d5c75f996bc1b596efa9ebf8
tree1404228e007081933ccb178ef71744a39a6c599a
parentae1937f69b1f04dcb2a855d66f94860a6bcf7620
drivers/video/fsl-diu-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.

Signed-off-by: Damien Cassou <damien.cassou@lifl.fr>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/fsl-diu-fb.c