Thread (20 messages) 20 messages, 6 authors, 2025-02-26

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

From: Andrew Lunn <andrew@lunn.ch>
Date: 2025-02-24 19:56:31
Also in: linux-arm-kernel, lkml

On Mon, Feb 24, 2025 at 02:53:21PM +0100, 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@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help