Skip to contentSkip to conversation

const_structs.checkpatch: add pinctrl_ops and pinmux_ops

PATCH Applied Rikard Falkeborn 3 participants 3 messages Aug 30, 2020 – Sep 12, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 const_structs.checkpatch: add pinctrl_ops and pinmux_ops

All usages of include/linux of these are const pointers, and all instances in the kernel except one, that are not const can be made const (patches have been posted for those separately).

---
 scripts/const_structs.checkpatch | 2 ++
 1 file changed, 2 insertions(+)
scripts/const_structs.checkpatch +2 -0
index cd45cb3c2b04..1aae4f4fdacc 100644
@@ -40,6 +40,8 @@ nvkm_device_chip
 of_device_id
 pci_raw_ops
 phy_ops
+pinctrl_ops
+pinmux_ops
 pipe_buf_operations
 platform_hibernation_ops
 platform_suspend_ops
Signature · 1 line
2.28.0
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Rikard Falkeborn

All usages of include/linux of these are const pointers, and all instances in the kernel except one, that are not const can be made const (patches have been posted for those separately).

Thanks,
Mani

Quoted 20 lines
---
 scripts/const_structs.checkpatch | 2 ++
 1 file changed, 2 insertions(+)
scripts/const_structs.checkpatch +2 -0
index cd45cb3c2b04..1aae4f4fdacc 100644
@@ -40,6 +40,8 @@ nvkm_device_chip
 of_device_id
 pci_raw_ops
 phy_ops
+pinctrl_ops
+pinmux_ops
 pipe_buf_operations
 platform_hibernation_ops
 platform_suspend_ops
Signature · 1 line
2.28.0