From: Sachin Kamat Date: Mon, 29 Apr 2013 22:05:43 +0000 (-0700) Subject: drivers/video/exynos/exynos_mipi_dsi.c: convert to devm_ioremap_resource() X-Git-Tag: firefly_0821_release~3680^2~665^2~137 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6637eca322e912bf4e272ab33447bdafea2658e8;p=firefly-linux-kernel-4.4.55.git drivers/video/exynos/exynos_mipi_dsi.c: convert to devm_ioremap_resource() Use the newly introduced devm_ioremap_resource() instead of devm_request_and_ioremap() 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: Sachin Kamat Cc: Donghwa Lee Cc: Florian Tobias Schandinat Reviewed-by: Thierry Reding Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/exynos/exynos_mipi_dsi.c b/drivers/video/exynos/exynos_mipi_dsi.c index 3dd43ca2b95f..32e540600f99 100644 --- a/drivers/video/exynos/exynos_mipi_dsi.c +++ b/drivers/video/exynos/exynos_mipi_dsi.c @@ -32,6 +32,7 @@ #include #include #include +#include #include