summaryrefslogtreecommitdiffstats
path: root/kernel/Documentation/gpio/gpio-legacy.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/Documentation/gpio/gpio-legacy.txt')
-rw-r--r--kernel/Documentation/gpio/gpio-legacy.txt9
1 files changed, 0 insertions, 9 deletions
diff --git a/kernel/Documentation/gpio/gpio-legacy.txt b/kernel/Documentation/gpio/gpio-legacy.txt
index 6f83fa965..79ab5648d 100644
--- a/kernel/Documentation/gpio/gpio-legacy.txt
+++ b/kernel/Documentation/gpio/gpio-legacy.txt
@@ -751,9 +751,6 @@ requested using gpio_request():
int gpio_export_link(struct device *dev, const char *name,
unsigned gpio)
- /* change the polarity of a GPIO node in sysfs */
- int gpio_sysfs_set_active_low(unsigned gpio, int value);
-
After a kernel driver requests a GPIO, it may only be made available in
the sysfs interface by gpio_export(). The driver can control whether the
signal direction may change. This helps drivers prevent userspace code
@@ -767,9 +764,3 @@ After the GPIO has been exported, gpio_export_link() allows creating
symlinks from elsewhere in sysfs to the GPIO sysfs node. Drivers can
use this to provide the interface under their own device in sysfs with
a descriptive name.
-
-Drivers can use gpio_sysfs_set_active_low() to hide GPIO line polarity
-differences between boards from user space. This only affects the
-sysfs interface. Polarity change can be done both before and after
-gpio_export(), and previously enabled poll(2) support for either
-rising or falling edge will be reconfigured to follow this setting.