mirror of
https://github.com/torvalds/linux.git
synced 2026-12-06 13:23:45 +00:00
'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]>