linux/Documentation/zh_CN
Johan Hovold 166a85e442 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 <corbet@lwn.net>
Cc: Harry Wei <harryxiyou@gmail.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: linux-doc@vger.kernel.org
Cc: linux-kernel@zh-kernel.org
Cc: linux-arch@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2015-05-12 10:46:53 +02:00
..
arm Documentation: Chinese translation of Documentation/arm/kernel_user_helpers.txt 2012-11-15 17:46:42 -08:00
arm64 Documentation:Update Documentation/zh_CN/arm64/memory.txt 2015-04-04 15:20:26 +02:00
filesystems Documentation: Chinese translation of Documentation/filesystems/sysfs.txt 2012-09-04 16:08:29 -07:00
video4linux [media] media: Documentation: remove V4L2_FL_USE_FH_PRIO flag 2014-07-04 16:16:11 -03:00
basic_profiling.txt Document:add Chinese translation of basic_profiling.txt 2012-09-06 15:09:25 -07:00
CodingStyle Documentation: remove depends on CONFIG_EXPERIMENTAL 2013-01-11 11:38:03 -08:00
email-clients.txt Documentation/zh_CN: Fix messy code file email-clients.txt 2011-07-01 15:15:56 -07:00
gpio.txt gpio: remove gpiod_sysfs_set_active_low 2015-05-12 10:46:53 +02:00
HOWTO Documentation: Update stable address in Chinese and Japanese translations 2014-04-16 14:13:27 -07:00
io_ordering.txt Chinese: add translation of io_ordering.txt 2014-04-16 14:13:26 -07:00
IRQ.txt Documentation:Chinese translation of Documentation/IRQ.txt 2012-10-25 11:54:06 -07:00
magic-number.txt Documentation/serial: Delete obsolete driver documentation 2014-04-16 14:20:34 -07:00
oops-tracing.txt
SecurityBugs Translate Documentation/SecurityBugs into Chinese 2011-02-03 15:44:22 -08:00
sparse.txt
stable_api_nonsense.txt
stable_kernel_rules.txt Documentation: Update stable address in Chinese and Japanese translations 2014-04-16 14:13:27 -07:00
SubmittingDrivers doc: CN: remove dead link, kerneltrap.org no longer works 2014-06-19 15:15:28 +02:00
SubmittingPatches Documentation/SubmittingPatches: remove references to patch-scripts 2014-04-03 16:21:27 -07:00
volatile-considered-harmful.txt