Skip to content

Commit 0f02ba4

Browse files
t-8chbroonie
authored andcommitted
const_structs.checkpatch: add regmap structs
Many structs used by regmap should be const by default. Add entries to const_structs.checkpatch for them for checkpatch.pl to warn on new non-const additions. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://patch.msgid.link/20240706-regmap-const-structs-v1-1-d08c776da787@weissschuh.net Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 92955a2 commit 0f02ba4

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

scripts/const_structs.checkpatch

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,16 @@ platform_suspend_ops
6464
proc_ops
6565
proto_ops
6666
pwm_ops
67+
reg_default
68+
reg_field
69+
reg_sequence
6770
regmap_access_table
71+
regmap_bus
72+
regmap_config
73+
regmap_irq
74+
regmap_irq_chip
75+
regmap_range
76+
regmap_range_cfg
6877
regulator_ops
6978
reset_control_ops
7079
rpc_pipe_ops

0 commit comments

Comments
 (0)