diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2025-06-11 08:13:36 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2025-06-18 13:26:36 +0200 |
commit | 9724e6f1953644cc9a5d102605d624bc79609038 (patch) | |
tree | 98836b180b38e07802f58dad9ebfe97a12bd9e86 /tools/perf/scripts/python/gecko.py | |
parent | 91ed43b045119fe47b256af83eb7ad35eb0ba356 (diff) |
pinctrl: Constify pointers to 'pinctrl_desc'
Pin controller core code only stores the pointer to
'struct pinctrl_desc' and does not modify it anywhere. The pointer can
be changed to pointer to const which makes the code safer, explicit and
later allows constifying 'pinctrl_desc' allocations in individual
drivers.
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/20250611-pinctrl-const-desc-v2-4-b11c1d650384@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions