summaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2008-07-27 00:22:26 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-27 05:16:47 +0200
commit6a9436d0c3cbe8941b1acd5b0736d355295cad98 (patch)
treed29f52ca2778aa2aa1ee66158b234e4ac462013b /include/asm-generic
parentMerge branch 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/... (diff)
downloadlinux-6a9436d0c3cbe8941b1acd5b0736d355295cad98.tar.xz
linux-6a9436d0c3cbe8941b1acd5b0736d355295cad98.zip
gpiolib: fix typo in comment
This fixes an off-by-one error in a comment. Signed-off-by: Michael Buesch <mb@bu3sch.de> 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>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/gpio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h
index a3034d20ebd5..c764a8fcb058 100644
--- a/include/asm-generic/gpio.h
+++ b/include/asm-generic/gpio.h
@@ -13,7 +13,7 @@
*
* While the GPIO programming interface defines valid GPIO numbers
* to be in the range 0..MAX_INT, this library restricts them to the
- * smaller range 0..ARCH_NR_GPIOS.
+ * smaller range 0..ARCH_NR_GPIOS-1.
*/
#ifndef ARCH_NR_GPIOS