diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-11-19 11:16:57 -0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2014-11-26 14:31:03 +0100 |
commit | c3cd5c076c3ab6a088d73e260b516bcda1dc9da4 (patch) | |
tree | b04999ad95324cd5c065d76cf1d3ac8bf410fb12 /arch/m32r/mm/init.c | |
parent | 4d7c07cd6c0379228e65c52776f22250e8f4a962 (diff) |
mmc: mxs-mmc: No need to do NULL check on 'iores'
devm_ioremap_resource() already checks if 'iores' is NULL or not, so we can
skip this manual check.
While at it, move platform_get_resource() closer to devm_ioremap_resource() for
better readability.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'arch/m32r/mm/init.c')
0 files changed, 0 insertions, 0 deletions