net: mvneta: Switch to using devm_alloc_etherdev_mqs
authorRosen Penev <rosenp@gmail.com>
Tue, 23 Apr 2019 20:46:03 +0000 (13:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Apr 2019 18:51:19 +0000 (11:51 -0700)
commita3ddd94f3efb3a9eda8ce7183f821a9c4fa3b47f
tree0ceb1bb8e691b33d1f9d820909acc7f36b8e8c57
parent4109a2c3b91e5f38e401fc4ea56848e65e429785
net: mvneta: Switch to using devm_alloc_etherdev_mqs

It allows some of the code to be simplified.

Tested on Turris Omnia.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c