net: macb: Use devm_ioremap()
Use the device managed version of ioremap to remap IO memory, simplifying error paths. Signed-off-by: NSoren Brinkmann <soren.brinkmann@xilinx.com> Acked-by: NNicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录