projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92955a2
)
const_structs.checkpatch: add regmap structs
author
Thomas Weißschuh
<linux@weissschuh.net>
Sat, 6 Jul 2024 11:13:41 +0000
(13:13 +0200)
committer
Mark Brown
<broonie@kernel.org>
Mon, 8 Jul 2024 11:50:15 +0000
(12:50 +0100)
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>
scripts/const_structs.checkpatch
patch
|
blob
|
blame
|
history
diff --git
a/scripts/const_structs.checkpatch
b/scripts/const_structs.checkpatch
index 52e5bfb61fd03a1a9bfc3e4bc6ed9e672085c977..1bfbb3d7f2e0fb3622deed77c89ef10777a1d03e 100644
(file)
--- a/
scripts/const_structs.checkpatch
+++ b/
scripts/const_structs.checkpatch
@@
-64,7
+64,16
@@
platform_suspend_ops
proc_ops
proto_ops
pwm_ops
+reg_default
+reg_field
+reg_sequence
regmap_access_table
+regmap_bus
+regmap_config
+regmap_irq
+regmap_irq_chip
+regmap_range
+regmap_range_cfg
regulator_ops
reset_control_ops
rpc_pipe_ops