From: Michael Buesch Date: Sat, 26 Jul 2008 22:22:26 +0000 (-0700) Subject: gpiolib: fix typo in comment X-Git-Tag: v2.6.27-rc1~80 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6a9436d0c3cbe8941b1acd5b0736d355295cad98;p=linux-2.6-omap-h63xx.git gpiolib: fix typo in comment This fixes an off-by-one error in a comment. Signed-off-by: Michael Buesch Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h index a3034d20ebd..c764a8fcb05 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