Tag: 5760f427ce98fc5576cd4fc7ceadd7ffd9b5feb9

net: ethernet: stmicro: stmmac: use devm_ioremap_resource()

Author: Silviu-Mihai Popescu <silviupopescu1990@gmail.com> 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 — drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 8 +++—– …

Continue reading