From: Wang Hai <[email protected]> Date: Wed, 19 Aug 2020 10:33:09 +0800
> Replace alloc_etherdev_mq with devm_alloc_etherdev_mqs. In this way,
> when probe fails, netdev can be freed automatically.
>
> Fixes: 4d5ae32f5e1e ("net: ethernet: Add a driver for Gemini gigabit
> ethernet")
> Reported-by: Hulk Robot <[email protected]>
> Signed-off-by: Wang Hai <[email protected]>
> ---
> v1->v2: Make use of devm_alloc_etherdev_mqs() to simplify the code
Applied, thank you.
