]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/video/ep93xx-fb.c: use devm_ functions
authorDamien Cassou <damien.cassou@lifl.fr>
Tue, 31 Jul 2012 13:54:16 +0000 (15:54 +0200)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Thu, 23 Aug 2012 12:58:24 +0000 (12:58 +0000)
commit6a311f47e4cfd9c1289231c3e9f2d4d648bbee19
treeea03a9d9a7f8dfccfecd47d0e9b36e1781c5d024
parent7a4098cb3f380c84c664f522a583223227c688b0
drivers/video/ep93xx-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/ep93xx-fb.c