OMAPDSS: use devm_ functions
authorJulia Lawall <Julia.Lawall@lip6.fr>
Tue, 24 Jan 2012 13:00:45 +0000 (14:00 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 25 Jan 2012 11:48:35 +0000 (13:48 +0200)
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: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>

No differences found