summaryrefslogtreecommitdiff
path: root/Documentation/gpio
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2015-05-21 15:07:50 +0300
committerJonathan Corbet <corbet@lwn.net>2015-05-22 18:31:15 +0300
commitcbfa2c52818ada02ca3084e0c50aba8745311bc1 (patch)
tree3c0205c75b71bcc6b57c060c2e8494e9acee1b8e /Documentation/gpio
parent11e285d8ff3289ce976d4b5b9748c87ac3db8c9d (diff)
downloadlinux-cbfa2c52818ada02ca3084e0c50aba8745311bc1.tar.xz
gpiolib: Grammar s/an negative/a negative/
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/gpio')
-rw-r--r--Documentation/gpio/consumer.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/gpio/consumer.txt b/Documentation/gpio/consumer.txt
index c21c1313f09e..15ec6d69102c 100644
--- a/Documentation/gpio/consumer.txt
+++ b/Documentation/gpio/consumer.txt
@@ -290,7 +290,7 @@ corresponding to a given GPIO using the following call:
int gpiod_to_irq(const struct gpio_desc *desc)
-It will return an IRQ number, or an negative errno code if the mapping can't be
+It will return an IRQ number, or a negative errno code if the mapping can't be
done (most likely because that particular GPIO cannot be used as IRQ). It is an
unchecked error to use a GPIO that wasn't set up as an input using
gpiod_direction_input(), or to use an IRQ number that didn't originally come