From: Silviu-Mihai Popescu Date: Thu, 11 Apr 2013 09:52:13 +0000 (+0000) Subject: net: ethernet: stmicro: stmmac: use devm_ioremap_resource() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~143 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5760f427ce98fc5576cd4fc7ceadd7ffd9b5feb9;p=pandora-kernel.git net: ethernet: stmicro: stmmac: use devm_ioremap_resource() Convert use of devm_request_and_ioremap() to the newly introduced devm_ioremap_resource() which provides more consistent error handling. devm_ioremap_resource() provides its own error messages so all explicit error messages can be removed from the failure code paths. This was found with coccinelle. Signed-off-by: Silviu-Mihai Popescu Signed-off-by: David S. Miller --- Reading git-diff-tree failed