summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/nandsim.c
diff options
context:
space:
mode:
authorEric Miao <eric.y.miao@gmail.com>2010-03-05 22:44:35 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-06 20:26:48 +0100
commit3e45f1d1155894e6f4291f5536b224874d52d8e2 (patch)
treed7b44dd5248bdb053c0cd6632e82ce8893833519 /drivers/mtd/nand/nandsim.c
parentpca953x: minor include cleanup (diff)
downloadlinux-3e45f1d1155894e6f4291f5536b224874d52d8e2.tar.xz
linux-3e45f1d1155894e6f4291f5536b224874d52d8e2.zip
gpio: introduce gpio_request_one() and friends
gpio_request() without initial configuration of the GPIO is normally useless, introduce gpio_request_one() together with GPIOF_ flags for input/output direction and initial output level. gpio_{request,free}_array() for multiple GPIOs. Signed-off-by: Eric Miao <eric.y.miao@gmail.com> Cc: David Brownell <dbrownell@users.sourceforge.net> Cc: Ben Nizette <bn@niasdigital.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mtd/nand/nandsim.c')
0 files changed, 0 insertions, 0 deletions