From: Fabio Estevam Date: Wed, 19 Nov 2014 13:16:57 +0000 (-0200) Subject: mmc: mxs-mmc: No need to do NULL check on 'iores' X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~28^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3cd5c076c3ab6a088d73e260b516bcda1dc9da4;p=pandora-kernel.git 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 Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed