diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-04-20 05:16:30 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2016-05-02 11:33:34 +0300 |
commit | 378382b8d09d43371872103a58e4d4a7ff14b556 (patch) | |
tree | 2486b67470267976fc894601fd6b5c0a13aeea2d /mm/swap.c | |
parent | e30568d43f5ea63e61906d2a90c9b981ef829ff7 (diff) | |
download | linux-378382b8d09d43371872103a58e4d4a7ff14b556.tar.xz |
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>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions