]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
gpiolib: fix typo in comment
authorMichael Buesch <mb@bu3sch.de>
Sat, 26 Jul 2008 22:22:26 +0000 (15:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 27 Jul 2008 03:16:47 +0000 (20:16 -0700)
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>
include/asm-generic/gpio.h

index a3034d20ebd5ef2f7d264b62311afa06a7ac7327..c764a8fcb058e33fb703e56af17eaa7fb966d7ea 100644 (file)
@@ -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