diff options
author | 2013-04-11 09:52:13 +0000 | |
---|---|---|
committer | 2013-04-11 16:21:58 -0400 | |
commit | 5760f427ce98fc5576cd4fc7ceadd7ffd9b5feb9 (patch) | |
tree | c61607ff8a7b90681bcdd3beccfe9c1a4a10fa66 /net/core/netprio_cgroup.c | |
parent | be2net: remove unused variable 'sge' (diff) | |
download | linux-dev-5760f427ce98fc5576cd4fc7ceadd7ffd9b5feb9.tar.xz linux-dev-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 '')
0 files changed, 0 insertions, 0 deletions