From: Sachin Kamat Date: Tue, 26 Mar 2013 23:24:07 +0000 (+1100) Subject: drivers/video/exynos/exynos_mipi_dsi.c: convert to devm_ioremap_resource() X-Git-Tag: next-20130404~3^2~493 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=46250ae39035325f7a161d4172a73992aac67d6e;p=karo-tx-linux.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 --- diff --git a/drivers/video/exynos/exynos_mipi_dsi.c b/drivers/video/exynos/exynos_mipi_dsi.c index fac7df6d1aba..87cd13b5dee6 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