Re: [PATCH 1/3] video: exynos_mipi_dsi: Convert todevm_ioremap_resource()

From: Thierry Reding
Date: Thu Jan 31 2013 - 05:43:01 EST


On Thu, Jan 31, 2013 at 03:55:37PM +0530, Sachin Kamat wrote:
> Use the newly introduced devm_ioremap_resource() instead of
> devm_request_and_ioremap() which provides more consistent error handling.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx>
> Cc: Donghwa Lee <dh09.lee@xxxxxxxxxxx>
> Cc: Florian Tobias Schandinat <FlorianSchandinat@xxxxxx>
> Cc: linux-fbdev@xxxxxxxxxxxxxxx
> ---
> drivers/video/exynos/exynos_mipi_dsi.c | 7 ++++---
> 1 files changed, 4 insertions(+), 3 deletions(-)

All of these can drop the additional error message because equivalent
error message are output by devm_ioremap_resource() itself.

Thierry

Attachment: pgp00000.pgp
Description: PGP signature