Re: [PATCH net-next 2/3] stmmac: Remove pcim_* functions for driver detach

From: Jacob Keller
Date: Thu Mar 13 2025 - 18:33:57 EST




On 3/13/2025 9:14 AM, Philipp Stanner wrote:
> Functions prefixed with "pcim_" are managed devres functions which
> perform automatic cleanup once the driver unloads. It is, thus, not
> necessary to call any cleanup functions in remove() callbacks.
>
> Remove the pcim_ cleanup function calls in the remove() callbacks.
>
> Signed-off-by: Philipp Stanner <phasta@xxxxxxxxxx>
> Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
> Reviewed-by: Yanteng Si <si.yanteng@xxxxxxxxx>
> Tested-by: Henry Chen <chenx97@xxxxxxx>
> ---

Reviewed-by: Jacob Keller <jacob.e.keller@xxxxxxxxx>