diff options
| author | Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> | 2025-11-26 17:58:45 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-11-26 18:44:27 +0000 |
| commit | 788915a22bdfde0925c074056056e7d408c242d0 (patch) | |
| tree | 48346c33dfea632ba0123cc23e219414de096b5e /tools/testing/selftests/net/lib/py/utils.py | |
| parent | ac1530cdea9846c6bff31827c0c4dffcbc186e6a (diff) | |
regulator: bd71815: 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-2-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
