[media] s5p-g2d: Use devm_* functions in g2d.c file
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 14 May 2012 09:31:24 +0000 (06:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 20 May 2012 12:05:18 +0000 (09:05 -0300)
commit32fced05ad9ef4736e4a89b2361cccf56227529b
tree240505865b7c2fea153a0870e10604736a2474ec
parent3e9095d54c3712ffda70dc84f9273d4b5d24c0fd
[media] s5p-g2d: Use devm_* functions in g2d.c file

devm_* functions are device managed functions and make error handling
and cleanup simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/s5p-g2d/g2d.c
drivers/media/video/s5p-g2d/g2d.h