diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-04-20 04:16:30 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2016-05-02 10:33:34 +0200 |
commit | 378382b8d09d43371872103a58e4d4a7ff14b556 (patch) | |
tree | 2486b67470267976fc894601fd6b5c0a13aeea2d /ipc | |
parent | mmc: sdhci-pltfm: use devm_ioremap_resource() (diff) | |
download | linux-378382b8d09d43371872103a58e4d4a7ff14b556.tar.xz linux-378382b8d09d43371872103a58e4d4a7ff14b556.zip |
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 'ipc')
0 files changed, 0 insertions, 0 deletions