Re: [PATCH net] net: mdio_bus: Use devm for getting reset GPIO

From: patchwork-bot+netdevbpf
Date: Wed Jul 30 2025 - 22:20:06 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Mon, 28 Jul 2025 17:34:55 +0200 you wrote:
> Commit bafbdd527d56 ("phylib: Add device reset GPIO support") removed
> devm_gpiod_get_optional() in favor of the non-devres managed
> fwnode_get_named_gpiod(). When it was kind-of reverted by commit
> 40ba6a12a548 ("net: mdio: switch to using gpiod_get_optional()"), the devm
> functionality was not reinstated. Nor was the GPIO unclaimed on device
> remove. This leads to the GPIO being claimed indefinitely, even when the
> device and/or the driver gets removed.
>
> [...]

Here is the summary with links:
- [net] net: mdio_bus: Use devm for getting reset GPIO
https://git.kernel.org/netdev/net/c/3b98c9352511

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html