[PATCH net-next v3 2/3] net: emaclite: Replace alloc_etherdev() with devm_alloc_etherdev()

Simon Horman horms at kernel.org
Thu Oct 10 02:55:54 PDT 2024


On Wed, Oct 09, 2024 at 09:58:22PM +0530, Radhey Shyam Pandey wrote:
> From: Abin Joseph <abin.joseph at amd.com>
> 
> Use device managed ethernet device allocation to simplify the error
> handling logic. No functional change.
> 
> Signed-off-by: Abin Joseph <abin.joseph at amd.com>
> Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey at amd.com>

Reviewed-by: Simon Horman <horms at kernel.org>




More information about the linux-arm-kernel mailing list