diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-07-04 14:58:50 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-07-16 10:27:07 +0200 |
commit | c38c3a349b7bb994252e93c7c122fa0b50ddf12b (patch) | |
tree | 2dcf8e7d47213f8d4a0284eeb6ea98be84a1e6b3 /rust/helpers/build_bug.c | |
parent | 2028f854b3f5b3816cd5d5dd83057a873eddc4d6 (diff) |
gpio: sysfs: only get the dirent reference for the value attr once
There's no reason to retrieve the reference to the sysfs dirent every
time we request an interrupt, we can as well only do it once when
exporting the GPIO.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20250704-gpio-sysfs-chip-export-v4-3-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