[media] media: davinci: vpif: Convert to devm_* api
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Mon, 17 Jun 2013 14:20:42 +0000 (11:20 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 21 Jun 2013 14:25:09 +0000 (11:25 -0300)
commitc7f808d19d344a33f6687a0558553a415eca2902
treee675d1120d87dd4e005c6dce5e23b12e15951e57
parent01105690c40ceafc28df15e8b3eae6cd668229d5
[media] media: davinci: vpif: Convert to devm_* api

Use devm_ioremap_resource instead of reques_mem_region()/ioremap().
This ensures more consistent error values and simplifies error paths.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/davinci/vpif.c