[media] media: davinci: vpbe_display: convert to devm* api
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Sat, 13 Jul 2013 07:50:29 +0000 (04:50 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 26 Jul 2013 16:19:08 +0000 (13:19 -0300)
commit6b55b4516cf6f4711024a158dabbb50b282c5d3f
tree9132f5470aa97df27d63ec50d834d6703e5d1a41
parent418f7d60c05c638d6557927a92cf9b2e328ae7dc
[media] media: davinci: vpbe_display: 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_display.c