From: Michael Buesch Date: Sat, 26 Jul 2008 22:22:26 +0000 (-0700) Subject: gpiolib: fix typo in comment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6a9436d0c3cbe8941b1acd5b0736d355295cad98;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.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 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