commit | c3cd5c076c3ab6a088d73e260b516bcda1dc9da4 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Wed Nov 19 11:16:57 2014 -0200 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Wed Nov 26 14:31:03 2014 +0100 |
tree | b04999ad95324cd5c065d76cf1d3ac8bf410fb12 | |
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>