[PATCH net-next 2/3] stmmac: Remove pcim_* functions for driver detach
Jacob Keller
jacob.e.keller at intel.com
Thu Mar 13 15:33:19 PDT 2025
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 at kernel.org>
> Reviewed-by: Andrew Lunn <andrew at lunn.ch>
> Reviewed-by: Yanteng Si <si.yanteng at linux.dev>
> Tested-by: Henry Chen <chenx97 at aosc.io>
> ---
Reviewed-by: Jacob Keller <jacob.e.keller at intel.com>
More information about the linux-arm-kernel
mailing list