Thread (3 messages) flat view 3 messages, 3 authors, 2021-09-23

Re: [PATCH net-next] net: dsa: sja1105: don't keep a persistent reference to the reset GPIO

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-09-23 11:50:19

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Wed, 22 Sep 2021 18:10:29 +0300 you wrote:
The driver only needs the reset GPIO for a very brief period, so instead
of using devres and keeping the descriptor pointer inside priv, just use
that descriptor inside the sja1105_hw_reset function and then let go of
it.

Also use gpiod_get_optional while at it, and error out on real errors
(bad flags etc).

[...]
Here is the summary with links:
  - [net-next] net: dsa: sja1105: don't keep a persistent reference to the reset GPIO
    https://git.kernel.org/netdev/net-next/c/33e1501f5a5f

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

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