diff options
author | Silviu-Mihai Popescu <[email protected]> | 2013-04-11 09:52:13 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2013-04-11 16:21:58 -0400 |
commit | 5760f427ce98fc5576cd4fc7ceadd7ffd9b5feb9 (patch) | |
tree | c61607ff8a7b90681bcdd3beccfe9c1a4a10fa66 /drivers/net/xen-netback/netback.c | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/netback.c')
0 files changed, 0 insertions, 0 deletions