aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/pyynl/cli.py
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2025-07-13 15:09:24 +0000
committerDavid S. Miller <[email protected]>2025-07-13 21:28:56 +0000
commit9eb73f92a0b003f2fb9091085c51a4a4554c887d (patch)
tree543275d9aa0d92ea4c0908fb81c7899614e18ee2 /tools/net/ynl/pyynl/cli.py
parenttools: ynl: process unknown for enum values (diff)
downloadkernel-9eb73f92a0b003f2fb9091085c51a4a4554c887d.tar.gz
kernel-9eb73f92a0b003f2fb9091085c51a4a4554c887d.zip
net: dsa: mt7530: Constify struct regmap_config
'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 Signed-off-by: Christophe JAILLET <[email protected]> Reviewed-by: Daniel Golle <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/net/ynl/pyynl/cli.py')
0 files changed, 0 insertions, 0 deletions