commit | 378382b8d09d43371872103a58e4d4a7ff14b556 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Wed Apr 20 11:16:30 2016 +0900 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon May 02 10:33:34 2016 +0200 |
tree | 2486b67470267976fc894601fd6b5c0a13aeea2d | |
parent | e30568d43f5ea63e61906d2a90c9b981ef829ff7 [diff] |
mmc: sdhci-pltfm: move devm_ioremap_resource() up Call devm_ioremap_resource() right after platform_get_resource(). This saves the error check of platform_get_resource() because devm_ioremap_resource() checks if the given resource is NULL. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>