From: Sachin Kamat Date: Sun, 10 Mar 2013 10:54:35 +0000 (+1100) Subject: drivers/video/exynos/exynos_mipi_dsi.c: convert to devm_ioremap_resource() X-Git-Tag: next-20130312~3^2~267 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3adb3e70d8ef31f121c6fe0e07cf97cb7520907e;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