diff options
| author | Silviu-Mihai Popescu <silviupopescu1990@gmail.com> | 2013-04-11 09:52:13 +0000 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2013-04-11 16:21:58 -0400 |
| commit | 5760f427ce98fc5576cd4fc7ceadd7ffd9b5feb9 (patch) | |
| tree | c61607ff8a7b90681bcdd3beccfe9c1a4a10fa66 /drivers/net/xen-netback/netback.c | |
| parent | f9725c039720c3b64a274dbbbd22868b4a274cd2 (diff) | |
| download | olio-linux-3.10-5760f427ce98fc5576cd4fc7ceadd7ffd9b5feb9.tar.xz olio-linux-3.10-5760f427ce98fc5576cd4fc7ceadd7ffd9b5feb9.zip | |
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>
Diffstat (limited to 'drivers/net/xen-netback/netback.c')
0 files changed, 0 insertions, 0 deletions