]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: ethernet: ti: cpsw: use devm_alloc_etherdev_mqs()
authorGrygorii Strashko <grygorii.strashko@ti.com>
Fri, 26 Apr 2019 17:12:29 +0000 (20:12 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Apr 2019 21:11:48 +0000 (17:11 -0400)
commitd183a9428dc52898e0d672af91500ef2265efd00
tree85aea6a3f7b0bc558482b26ea90aadbfced9f8ae
parent56bf8a5df3450a7d12b6f7f2372c38de28507706
net: ethernet: ti: cpsw: use devm_alloc_etherdev_mqs()

Use devm_alloc_etherdev_mqs() and simplify code.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c