Skip to content

Commit

Permalink
gpiolib: fix typo in comment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Buesch authored and Linus Torvalds committed Jul 27, 2008
1 parent a048d3a commit 6a9436d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-generic/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6a9436d

Please sign in to comment.