]> 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)
commit3f945295f016cbd848ed2a674a6921030fd1a147
tree434a66dac788952b2d5eb29fbc542532f6003eea
parentc72612c2023d55044585a568552712990eed1937
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