]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/video/exynos/exynos_mipi_dsi.c: convert to devm_ioremap_resource()
authorSachin Kamat <sachin.kamat@linaro.org>
Sun, 10 Mar 2013 10:54:35 +0000 (21:54 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 12 Mar 2013 03:56:23 +0000 (14:56 +1100)
commit3adb3e70d8ef31f121c6fe0e07cf97cb7520907e
tree6cacf348045446ca944f0a9047b01f68d909c803
parent2ab6fad4b79dc68a98df3056ba0f66c3542685db
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 <sachin.kamat@linaro.org>
Cc: Donghwa Lee <dh09.lee@samsung.com>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Reviewed-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/exynos/exynos_mipi_dsi.c