summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>2025-11-26 19:58:49 +0300
committerMark Brown <broonie@kernel.org>2025-11-26 21:44:30 +0300
commit438e90a287c86253dbb47e7fa43c4474f91ee7eb (patch)
tree528b5c735e9b6ed5c644e4ecfe9cbf6702cb3026 /scripts
parent50011cacaeb9556d65067ec8e757e3987ecf0f2b (diff)
downloadlinux-438e90a287c86253dbb47e7fa43c4474f91ee7eb.tar.xz
regulator: mt6358: 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-6-eeec378144d4@oss.qualcomm.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions