diff options
| author | Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> | 2025-11-26 17:58:50 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-11-26 18:44:31 +0000 |
| commit | 03c3bdebaad23d6698a3cb8a11a915d8bdebf28f (patch) | |
| tree | 1ae3c85ec042ddcb0d3636da6c9f124a26a90801 /scripts/clang-tools/gen_compile_commands.py | |
| parent | 438e90a287c86253dbb47e7fa43c4474f91ee7eb (diff) | |
regulator: pca9450: Constify pointers to 'regulator_desc' wrap struct
Pointer to 'struct regulator_desc' is a pointer to const and the
wrapping structure (container) is not being modified, thus entire syntax
can be replaced to preferred and safer container_of_const().
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20251126-container-of-const-regulator-v1-7-eeec378144d4@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
