Re: [PATCH net] net: ethernet: ave: Replace alloc_etherdev() with devm_alloc_etherdev()

2020-09-28 Thread David Miller
From: Kunihiko Hayashi Date: Mon, 28 Sep 2020 19:04:53 +0900 > Use devm_alloc_etherdev() to simplify the code instead of alloc_etherdev(). > > Signed-off-by: Kunihiko Hayashi Applied to net-next, thanks.

[PATCH net] net: ethernet: ave: Replace alloc_etherdev() with devm_alloc_etherdev()

2020-09-28 Thread Kunihiko Hayashi
Use devm_alloc_etherdev() to simplify the code instead of alloc_etherdev(). Signed-off-by: Kunihiko Hayashi --- drivers/net/ethernet/socionext/sni_ave.c | 32 +++- 1 file changed, 11 insertions(+), 21 deletions(-) diff --git a/drivers/net/ethernet/socionext/sni_ave.c