[media] media: davinci: vpss: convert to devm* api
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Sat, 13 Jul 2013 07:50:30 +0000 (04:50 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 26 Jul 2013 16:19:22 +0000 (13:19 -0300)
commit6ef8335928400ab58d547a3a59974d12f1c55d94
treeccd92d736927ed2bbed17b969cc4601531cb090b
parent6b55b4516cf6f4711024a158dabbb50b282c5d3f
[media] media: davinci: vpss: 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/vpss.c