Skip to contentSkip to conversation

trivial: gpiolib: typo in gpiochip_is_requested comment

PATCH In review Richard Genoud 2 participants 3 messages Feb 11, 2014 – Feb 20, 2014 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trivial: gpiolib: typo in gpiochip_is_requested comment

---
 drivers/gpio/gpiolib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/gpiolib.c +1 -1
index 80da9f1940c9..a0b96695c519 100644
@@ -1646,7 +1646,7 @@ void gpio_free_array(const struct gpio *array, size_t num)
 EXPORT_SYMBOL_GPL(gpio_free_array);
 
 /**
- * gpiochip_is_requested - return string iff signal was requested
+ * gpiochip_is_requested - return string if signal was requested
  * @chip: controller managing the signal
  * @offset: of signal within controller's 0..(ngpio - 1) range
  *
Signature · 1 line
1.8.5
#1 lore raw
Quoted 10 lines · Richard Genoud
---
 drivers/gpio/gpiolib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/gpiolib.c +0 -0
index 80da9f1940c9..a0b96695c519 100644

drivers/gpio/gpiolib.c void gpio_free_array(const struct gpio *array, size_t num) · line 1649

Quoted 5 lines
drivers/gpio/gpiolib.c +1 -1
@@ -1646,7 +1646,7 @@ void gpio_free_array(const struct gpio *array, size_t num)
 EXPORT_SYMBOL_GPL(gpio_free_array);
 
 /**
- * gpiochip_is_requested - return string iff signal was requested
+ * gpiochip_is_requested - return string if signal was requested

Why do you believe this is correct, please?

Signature · 2 lines
Jiri Kosina
SUSE Labs
#2 lore raw

2014-02-20 14:48 GMT+01:00 Jiri Kosina <[email protected]>:

Quoted 14 lines · Richard Genoud
Quoted 13 lines
---
 drivers/gpio/gpiolib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/gpiolib.c +0 -0
index 80da9f1940c9..a0b96695c519 100644
@@ -1646,7 +1646,7 @@ void gpio_free_array(const struct gpio *array, size_t num)
 EXPORT_SYMBOL_GPL(gpio_free_array);
 
Quoted 5 lines

drivers/gpio/gpiolib.c void gpio_free_array(const struct gpio *array, size_t num) · line 1649

Quoted 3 lines
drivers/gpio/gpiolib.c +1 -1
 /**
- * gpiochip_is_requested - return string iff signal was requested
+ * gpiochip_is_requested - return string if signal was requested

Why do you believe this is correct, please?

damned ! I thought that iff was a typo... I didn't know that it meant "if and only if"
sorry... please drop this.

Richard.