diff options
author | Johan Hovold <[email protected]> | 2015-05-04 17:10:33 +0200 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2015-05-12 10:46:53 +0200 |
commit | 166a85e44245d771bd7042f3ad72aa0e12bb53bd (patch) | |
tree | a9fd0409715c50ff15d2314b2314b4358c754ffb /tools/perf/scripts/python | |
parent | 426577bd8846d67b735b3a4e8926ef00abb15297 (diff) |
gpio: remove gpiod_sysfs_set_active_low
Remove gpiod_sysfs_set_active_low (and gpio_sysfs_set_active_low) which
allowed code to change the polarity of a gpio line even after it had
been exported through sysfs.
Drivers should not care, and generally does not know, about gpio-line
polarity which is a hardware feature that needs to be described by
firmware.
It is currently possible to define gpio-line polarity in device-tree and
acpi firmware or using platform data. Userspace can also change the
polarity through sysfs.
Note that drivers using the legacy gpio interface could still use
GPIOF_ACTIVE_LOW to change the polarity before exporting the gpio.
There are no in-kernel users of this interface.
Cc: Jonathan Corbet <[email protected]>
Cc: Harry Wei <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Johan Hovold <[email protected]>
Reviewed-by: Alexandre Courbot <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions