linux/drivers/net/ethernet/marvell
Thomas Petazzoni b5f3b75d9d net: mvneta: use devm_ioremap_resource() instead of of_iomap()
The mvneta driver currently uses of_iomap(), which has two drawbacks:
it doesn't request the resource, and it isn't devm-style so some error
handling is needed.

This commit switches to use devm_ioremap_resource() instead, which
automatically requests the resource (so the I/O registers region shows
up properly in /proc/iomem), and also is devm-style, which allows to
get rid of some error handling to unmap the I/O registers region.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-03-26 16:52:42 -04:00
..
Kconfig net: ethernet: update dependency and help text of mvneta 2014-02-18 18:09:02 -05:00
Makefile mv643xx_eth: convert to use the Marvell Orion MDIO driver 2013-03-22 10:25:15 -04:00
mv643xx_eth.c net: mv643xx_eth: properly start/stop phy device 2013-12-17 14:42:43 -05:00
mvmdio.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
mvneta.c net: mvneta: use devm_ioremap_resource() instead of of_iomap() 2014-03-26 16:52:42 -04:00
pxa168_eth.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
skge.c net: skge: remove unnecessary pci_set_drvdata() 2013-10-21 17:21:01 -04:00
skge.h
sky2.c sky2: initialize napi before registering device 2014-01-27 16:39:53 -08:00
sky2.h sky2: Receive Overflows not counted 2013-03-29 14:53:19 -04:00