media: Convert to devm_ioremap_resource()
commitd65e8e4a1cae5f92f21d4efd6999d6fcbc9ddc0e
authorThierry Reding <thierry.reding@avionic-design.de>
Mon, 21 Jan 2013 10:09:07 +0000 (21 11:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Jan 2013 20:21:46 +0000 (25 12:21 -0800)
tree2a2c8d62eee598ebba5e3d490fca1ee4ea4ca6bc
parentbc5e6dea81b025aba8fecec5c18f6faf81db9562
media: Convert to devm_ioremap_resource()

Convert all uses of devm_request_and_ioremap() to the newly introduced
devm_ioremap_resource() which provides more consistent error handling.

devm_ioremap_resource() provides its own error messages so all explicit
error messages can be removed from the failure code paths.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/platform/exynos-gsc/gsc-core.c
drivers/media/platform/mx2_emmaprp.c
drivers/media/platform/s3c-camif/camif-core.c
drivers/media/platform/s5p-fimc/fimc-core.c
drivers/media/platform/s5p-fimc/fimc-lite.c
drivers/media/platform/s5p-fimc/mipi-csis.c
drivers/media/platform/s5p-g2d/g2d.c
drivers/media/platform/s5p-jpeg/jpeg-core.c
drivers/media/platform/s5p-mfc/s5p_mfc.c
drivers/media/platform/soc_camera/mx2_camera.c