[media] media: davinci: vpbe_venc: convert to devm_* api
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Sat, 13 Jul 2013 07:50:27 +0000 (04:50 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 26 Jul 2013 16:18:22 +0000 (13:18 -0300)
commit371376d202ebbdda1d30caaf29125e4cb79884b1
tree04a56f4cf683f983121741f3bc5099fcc389882e
parent4b8a531e6bb0686203e9cf82a54dfe189de7d5c2
[media] media: davinci: vpbe_venc: convert to devm_* api

Replace existing resource handling in the driver with managed
device resource, this ensures more consistent error values and
simplifies error paths.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/davinci/vpbe_venc.c