]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/video/gbefb.c: use devm_ functions
authorDamien Cassou <damien.cassou@lifl.fr>
Tue, 31 Jul 2012 16:39:19 +0000 (18:39 +0200)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Thu, 23 Aug 2012 13:01:58 +0000 (13:01 +0000)
commita969ed7b90dd7389ae5af56cb31efd5c94faaf2c
treedb9d71a92b995c3c8c558fa427ff55a6f7bccd5b
parent99c3ca82e9398e22791061f088284766d52535ad
drivers/video/gbefb.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/gbefb.c