]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: sysfs: Enforce character device
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 10 Nov 2020 14:27:24 +0000 (15:27 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 4 Dec 2020 08:03:44 +0000 (09:03 +0100)
commit944815ab39cd30a822eba0a11778516c8e83ddfd
tree2bd3ccc320eae20b3b6666044080200c27b81816
parent0dac05d7b94943819e71f7e2fcea910d45138d7c
gpio: sysfs: Enforce character device

If users select sysfs support they get the character device
as well so that end-users cannot complain that they
"only have sysfs on my system". They should have the
character device at all times.

If someone is in so dire need of stripping out the
character device while still enabling the sysfs ABI they
can very well patch the kernel.

Also only show this obsolete option to expert users.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20201110142724.14760-1-linus.walleij@linaro.org
drivers/gpio/Kconfig