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)
commit6e2a14d2c59f6208310eeb6b031e9d1c22b38c6a
tree8267f62f049f5cbd82800f9719ee550b74dc3821
parentcc1d3e032df53d83d0ca4d537d8eb67eb5b3e808
OMAPDSS: 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: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dispc.c
drivers/video/omap2/dss/dsi.c
drivers/video/omap2/dss/dss.c
drivers/video/omap2/dss/rfbi.c
drivers/video/omap2/dss/venc.c