From: Jani Nikula Date: Wed, 16 Dec 2009 00:46:20 +0000 (-0800) Subject: gpiolib: add support for changing value polarity in sysfs X-Git-Tag: v2.6.33-rc1~71^2~134 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0769746183caff9d4334be48c7b0e7d2ec8716c4;p=pandora-kernel.git gpiolib: add support for changing value polarity in sysfs Drivers may use gpiolib sysfs as part of their public user space interface. The GPIO number and polarity might change from board to board. The gpio_export_link() call can be used to hide the GPIO number from user space. Add support for also hiding the GPIO line polarity changes from user space. Signed-off-by: Jani Nikula Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed