[PATCH net-next] net: stmmac: eic7700: Use syscon_regmap_lookup_by_phandle_args

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Tue Nov 24 18:40:09 PST 2026


Hello:

This patch was applied to netdev/net-next.git (main)
by Willem de Bruijn <willemb at google.com>:

On Sat, 21 Nov 2026 18:07:54 +0100 you wrote:
> Use syscon_regmap_lookup_by_phandle_args() which is a wrapper over
> syscon_regmap_lookup_by_phandle() combined with getting the syscon
> argument.  Except simpler code this annotates within one line that given
> phandle has arguments, so grepping for code would be easier.
> 
> There is also no real benefit in printing errors of missing individual
> syscon arguments, because this is done just too late: runtime check on
> static/build-time data.  Dtschema and Devicetree bindings offer the
> static/build-time check for this already.  OTOH,
> syscon_regmap_lookup_by_phandle_args() already handles error case if the
> number of arguments is too low, thus switch is safe.
> 
> [...]

Here is the summary with links:
  - [net-next] net: stmmac: eic7700: Use syscon_regmap_lookup_by_phandle_args
    https://git.kernel.org/netdev/net-next/c/882f4ba39863

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





More information about the linux-arm-kernel mailing list