summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/marvell/mvneta.c
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2014-05-23 01:07:02 +0200
committerDavid S. Miller <davem@davemloft.net>2014-05-23 21:31:49 +0200
commit56ecd2cc3810b76fc88d39369d23791fbd9adf81 (patch)
tree75dd3df6d3f3ddad7812a0abe42395cf3e8e25f0 /drivers/net/ethernet/marvell/mvneta.c
parentnet: mvneta: Change the number of default rx queues to one (diff)
downloadlinux-56ecd2cc3810b76fc88d39369d23791fbd9adf81.tar.xz
linux-56ecd2cc3810b76fc88d39369d23791fbd9adf81.zip
net: mvmdio: Use devm_* API to simplify the code
This commit makes use of devm_kmalloc_array() for memory allocation and the recently introduced devm_mdiobus_alloc() API to simplify driver's code. While here, remove a redundant out of memory error message. Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions