Re: [PATCH 14/33] media: Convert to devm_ioremap_resource()

From: Sylwester Nawrocki
Date: Tue Jan 22 2013 - 06:04:04 EST


Hi,

On 01/21/2013 11:09 AM, Thierry Reding wrote:
> 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@xxxxxxxxxxxxxxxxx>
> Cc: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
> Cc: linux-media@xxxxxxxxxxxxxxx
> ---
> drivers/media/platform/exynos-gsc/gsc-core.c | 8 +++-----
> drivers/media/platform/mx2_emmaprp.c | 6 +++---
> drivers/media/platform/s3c-camif/camif-core.c | 8 +++-----
> drivers/media/platform/s5p-fimc/fimc-core.c | 8 +++-----
> drivers/media/platform/s5p-fimc/fimc-lite.c | 8 +++-----
> drivers/media/platform/s5p-fimc/mipi-csis.c | 8 +++-----
> drivers/media/platform/s5p-g2d/g2d.c | 8 +++-----
> drivers/media/platform/s5p-jpeg/jpeg-core.c | 8 +++-----
> drivers/media/platform/s5p-mfc/s5p_mfc.c | 8 +++-----
> drivers/media/platform/soc_camera/mx2_camera.c | 12 ++++++------
> 10 files changed, 33 insertions(+), 49 deletions(-)

That's a nice cleanup. For exynos-gsc, s3c-camif, s5p-* drivers

Acked-by: Sylwester Nawrocki <s.nawrocki@xxxxxxxxxxx>

--

Thanks,
Sylwester
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/