diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-07-04 14:58:56 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-07-16 10:27:08 +0200 |
commit | e69c6db4cdbc149ff090f1449a114c33ba766dc8 (patch) | |
tree | 1fbbe60af2170dd56ca3e2022eec80597f273d90 /rust/helpers/build_bug.c | |
parent | 4fa93223e03eea3243db83786f556b6c1494de3e (diff) |
gpio: sysfs: allow disabling the legacy parts of the GPIO sysfs interface
Add a Kconfig switch allowing to disable the legacy parts of the GPIO
sysfs interface. This means that even though we keep the
/sys/class/gpio/ directory, it no longer contains the global
export/unexport attribute pair (instead, the user should use the
per-chip export/unpexport) nor the gpiochip$BASE entries. This option
default to y if GPIO sysfs is enabled but we'll default it to n at some
point in the future.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20250704-gpio-sysfs-chip-export-v4-9-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