Thread (3 messages) 3 messages, 3 authors, 2025-07-13

Re: [PATCH net-next] net: dsa: mt7530: Constify struct regmap_config

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-07-13 21:39:44
Also in: kernel-janitors, linux-arm-kernel, linux-mediatek, lkml

Hello:

This patch was applied to netdev/net-next.git (main)
by David S. Miller [off-list ref]:

On Sun, 13 Jul 2025 17:09:24 +0200 you wrote:
'struct regmap_config' are not modified in these drivers. They be
statically defined instead of allocated and populated at run-time.

The main benefits are:
  - it saves some memory at runtime
  - the structures can be declared as 'const', which is always better for
    structures that hold some function pointers
  - the code is less verbose

[...]
Here is the summary with links:
  - [net-next] net: dsa: mt7530: Constify struct regmap_config
    https://git.kernel.org/netdev/net-next/c/9eb73f92a0b0

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