summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>2025-11-26 17:58:47 +0100
committerMark Brown <broonie@kernel.org>2025-11-26 18:44:29 +0000
commit7a7e1ed307de6cc68639f602f3fa247ec0903354 (patch)
tree9c224ac14e9938e401cbe6797de3ba57b3e63506 /tools/testing/selftests/net/lib/py/utils.py
parentd02ea816cccae6c02c7c026b5a74bf99a784c9c8 (diff)
regulator: bd718x7: 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-4-eeec378144d4@oss.qualcomm.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions