summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2025-07-04 14:58:48 +0200
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2025-07-16 10:27:07 +0200
commit32ad0b9a17f9aa8dd9308feda671bda98b274d24 (patch)
tree8a9e4dff683447165332cfdf45cdfd056271bdb9 /rust/helpers/build_bug.c
parent26b6443826d98ac1f5c780788549b8df30e12fa2 (diff)
gpio: sysfs: use gpiod_is_equal() to compare GPIO descriptors
We have a dedicated comparator for GPIO descriptors that performs additional checks and hides the implementation detail of whether the same GPIO can be associated with two separate struct gpio_desc objects. Use it in sysfs code Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20250704-gpio-sysfs-chip-export-v4-1-9289d8758243@linaro.org Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions