]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ave: Replace alloc_etherdev() with devm_alloc_etherdev()
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Mon, 28 Sep 2020 10:04:53 +0000 (19:04 +0900)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Sep 2020 19:37:49 +0000 (12:37 -0700)
commit62a4b7255d0cdac70c013a71484d2d2756c85e99
tree434a66dac788952b2d5eb29fbc542532f6003eea
parent8716ab4938509e94832f6f4ec82cb72a4d519330
net: ethernet: ave: Replace alloc_etherdev() with devm_alloc_etherdev()

Use devm_alloc_etherdev() to simplify the code instead of alloc_etherdev().

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/socionext/sni_ave.c