]> git.baikalelectronics.ru Git - kernel.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)
commit2c5e79d3d61bcc21d59460cc6a767f35082d5214
tree85aea6a3f7b0bc558482b26ea90aadbfced9f8ae
parent2ccf5bbf99301e85e16f6412d57d1b754ce59aa4
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