projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a048d3a
)
gpiolib: fix typo in comment
author
Michael Buesch
<mb@bu3sch.de>
Sat, 26 Jul 2008 22:22:26 +0000
(15:22 -0700)
committer
Linus 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
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-generic/gpio.h
b/include/asm-generic/gpio.h
index a3034d20ebd5ef2f7d264b62311afa06a7ac7327..c764a8fcb058e33fb703e56af17eaa7fb966d7ea 100644
(file)
--- 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