Commit 6a9436d0 authored by Michael Buesch's avatar Michael Buesch Committed by Linus Torvalds

gpiolib: fix typo in comment

This fixes an off-by-one error in a comment.
Signed-off-by: default avatarMichael Buesch <mb@bu3sch.de>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a048d3af
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* *
* While the GPIO programming interface defines valid GPIO numbers * While the GPIO programming interface defines valid GPIO numbers
* to be in the range 0..MAX_INT, this library restricts them to the * 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 #ifndef ARCH_NR_GPIOS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment