mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] trivial: gpiolib: typo in gpiochip_is_requested comment
@ 2014-02-11 16:26 Richard Genoud
  2014-02-20 13:48 ` Jiri Kosina
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Genoud @ 2014-02-11 16:26 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: linux-kernel, Richard Genoud

Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
---
 drivers/gpio/gpiolib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index 80da9f1940c9..a0b96695c519 100644
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -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
  *
-- 
1.8.5


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] trivial: gpiolib: typo in gpiochip_is_requested comment
  2014-02-11 16:26 [PATCH] trivial: gpiolib: typo in gpiochip_is_requested comment Richard Genoud
@ 2014-02-20 13:48 ` Jiri Kosina
  2014-02-20 14:12   ` Richard Genoud
  0 siblings, 1 reply; 3+ messages in thread
From: Jiri Kosina @ 2014-02-20 13:48 UTC (permalink / raw)
  To: Richard Genoud; +Cc: linux-kernel

On Tue, 11 Feb 2014, Richard Genoud wrote:

> Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
> ---
>  drivers/gpio/gpiolib.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
> index 80da9f1940c9..a0b96695c519 100644
> --- a/drivers/gpio/gpiolib.c
> +++ b/drivers/gpio/gpiolib.c
> @@ -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?

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] trivial: gpiolib: typo in gpiochip_is_requested comment
  2014-02-20 13:48 ` Jiri Kosina
@ 2014-02-20 14:12   ` Richard Genoud
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Genoud @ 2014-02-20 14:12 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: linux-kernel

2014-02-20 14:48 GMT+01:00 Jiri Kosina <jkosina@suse.cz>:
> On Tue, 11 Feb 2014, Richard Genoud wrote:
>
>> Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
>> ---
>>  drivers/gpio/gpiolib.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
>> index 80da9f1940c9..a0b96695c519 100644
>> --- a/drivers/gpio/gpiolib.c
>> +++ b/drivers/gpio/gpiolib.c
>> @@ -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?

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

Richard.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-20 14:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-11 16:26 [PATCH] trivial: gpiolib: typo in gpiochip_is_requested comment Richard Genoud
2014-02-20 13:48 ` Jiri Kosina
2014-02-20 14:12   ` Richard Genoud

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®