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)
commit926b663ce8215ba448960e1ff6e58b67a2c3b99b
treed60e6add2528b6a61968b0dc2db2f162bb157639
parentf30281f4f7c2a0efcfeddad12277dfdada8f08a7
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