Files
linux/drivers/net/dsa
Christophe JAILLET 9eb73f92a0 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 <christophe.jaillet@wanadoo.fr>
Reviewed-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2025-07-13 22:28:56 +01:00
..
2025-06-12 18:46:37 -07:00
2025-06-12 18:46:37 -07:00
2024-11-03 10:36:34 -08:00
2025-07-10 15:41:01 +02:00
2025-05-27 17:07:52 -07:00