fec: Use devm_request_and_ioremap()
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 11 Mar 2013 07:32:55 +0000 (07:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Mar 2013 12:04:09 +0000 (08:04 -0400)
commit83e519b63480e691d43ee106547b10941bfa0232
tree94420d0bcb206b2e762b0f69d4a97c64a3e3dcee
parenta2e4b59a71d9178f68a970ee423cbde68b70fa74
fec: Use devm_request_and_ioremap()

Using devm_request_and_ioremap() can make the code cleaner and simpler.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec.c