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:44 +0100
committerMark Brown <broonie@kernel.org>2025-11-26 18:44:26 +0000
commitac1530cdea9846c6bff31827c0c4dffcbc186e6a (patch)
tree235a890000114aadedaf68f65c8d858cb7c3f525 /tools/testing/selftests/net/lib/py/utils.py
parenta7d6255a0bf302c028ac680564633a6aac5f611d (diff)
regulator: Use container_of_const() when all types are const
Use container_of_const(), which is preferred over container_of(), when the argument 'ptr' and returned pointer are already const, for better code safety and readability. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Link: https://patch.msgid.link/20251126-container-of-const-regulator-v1-1-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