]> git.baikalelectronics.ru Git - kernel.git/commit
gpiolib: allow GPIOs to be named
authorDaniel Silverstone <dsilvers@simtec.co.uk>
Thu, 2 Apr 2009 23:57:05 +0000 (16:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Apr 2009 02:04:51 +0000 (19:04 -0700)
commit1f6709984736c5d5de748db5918416da65ee0d4c
treed60e6add2528b6a61968b0dc2db2f162bb157639
parentc825fa5dae323280af7edfa63d713b1a0eabd8c7
gpiolib: allow GPIOs to be named

Allow GPIOs in GPIOLIB chips to be named.  This name is then used when the
GPIO is exported to sysfs, although it could be used elsewhere if deemed
useful.

Signed-off-by: Daniel Silverstone <dsilvers@simtec.co.uk>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpio/gpiolib.c
include/asm-generic/gpio.h