commit | 6e2a14d2c59f6208310eeb6b031e9d1c22b38c6a | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Tue Jan 24 14:00:45 2012 +0100 |
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | Wed Jan 25 13:48:35 2012 +0200 |
tree | 8267f62f049f5cbd82800f9719ee550b74dc3821 | |
parent | cc1d3e032df53d83d0ca4d537d8eb67eb5b3e808 [diff] |
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>