commit | 5760f427ce98fc5576cd4fc7ceadd7ffd9b5feb9 | [log] [tgz] |
---|---|---|
author | Silviu-Mihai Popescu <silviupopescu1990@gmail.com> | Thu Apr 11 09:52:13 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 11 16:21:58 2013 -0400 |
tree | c61607ff8a7b90681bcdd3beccfe9c1a4a10fa66 | |
parent | f9725c039720c3b64a274dbbbd22868b4a274cd2 [diff] |
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 <silviupopescu1990@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>