]> git.karo-electronics.de Git - linux-beck.git/commit
net: macb: Use devm_ioremap()
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Wed, 11 Dec 2013 00:07:21 +0000 (16:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Dec 2013 03:56:23 +0000 (22:56 -0500)
commit60fe716f005a0add0447796c38821b22ef379856
tree3c25d4c4be23f894f95b6dd4382a3f966c493240
parentb48e0bab142fdfa16b52fc63f43acf0784c80ee7
net: macb: Use devm_ioremap()

Use the device managed version of ioremap to remap IO memory,
simplifying error paths.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c