summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2025-04-07 09:08:15 +0200
committerMark Brown <broonie@kernel.org>2025-04-09 13:46:58 +0100
commitaaf6223ea2a1ff9316a81bf851fd5a0e82635b60 (patch)
treea35acdeed45ea1bea730fd1b446e8c6bd2e3f618 /scripts/generate_rust_analyzer.py
parent265daffe788aa1cc5925d0afcde4fe6e99c66638 (diff)
regulator: don't compare raw GPIO descriptor pointers
There's no API contract saying that two GPIO descriptor pointers obtained with a call to gpiod_get() (or one of the variants), that refer to the same physical GPIO pin, always point to the same structure. Use the dedicated comparator function. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Link: https://patch.msgid.link/20250407-gpiod-is-equal-v1-2-7d85f568ae6e@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