summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2025-04-08 09:36:30 +0200
committerMark Brown <broonie@kernel.org>2025-04-08 12:05:42 +0100
commit50faedda12e46918a11194a30c2bedf2b983fae2 (patch)
treeb94bd5425f2b0ec84c05c7803868ea642c19905f /scripts/generate_rust_analyzer.py
parent1326e295d6b4ffc9647bd4f073b787b4f79d6b6e (diff)
regulator: rpi-panel-attiny: use lock guards for the state mutex
Use mutex lock guards from linux/cleanup.h to simplify the driver code. Note that ret must be initialized in order to avoid a build warning as scoped_guard() is implemented as a for loop. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Link: https://patch.msgid.link/20250408-gpiochip-set-rv-regulator-v1-3-a18b6154b31a@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions