2009-06-02 14:03:27

by Yoichi Yuasa

[permalink] [raw]
Subject: [PATCH] fix typo in asm-generic/gpio.h

Signed-off-by: Yoichi Yuasa <[email protected]>

diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h
index d6c379d..2a37611 100644
--- a/include/asm-generic/gpio.h
+++ b/include/asm-generic/gpio.h
@@ -53,7 +53,7 @@ struct module;
* negative during registration, requests dynamic ID allocation.
* @ngpio: the number of GPIOs handled by this controller; the last GPIO
* handled is (base + ngpio - 1).
- * @can_sleep: flag must be set iff get()/set() methods sleep, as they
+ * @can_sleep: flag must be set if get()/set() methods sleep, as they
* must while accessing GPIO expander chips over I2C or SPI
* @names: if set, must be an array of strings to use as alternative
* names for the GPIOs in this chip. Any entry in the array


2009-06-02 14:07:40

by Robert P. J. Day

[permalink] [raw]
Subject: Re: [PATCH] fix typo in asm-generic/gpio.h

On Tue, 2 Jun 2009, Yoichi Yuasa wrote:

> Signed-off-by: Yoichi Yuasa <[email protected]>
>
> diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h
> index d6c379d..2a37611 100644
> --- a/include/asm-generic/gpio.h
> +++ b/include/asm-generic/gpio.h
> @@ -53,7 +53,7 @@ struct module;
> * negative during registration, requests dynamic ID allocation.
> * @ngpio: the number of GPIOs handled by this controller; the last GPIO
> * handled is (base + ngpio - 1).
> - * @can_sleep: flag must be set iff get()/set() methods sleep, as they
> + * @can_sleep: flag must be set if get()/set() methods sleep, as they
> * must while accessing GPIO expander chips over I2C or SPI
> * @names: if set, must be an array of strings to use as alternative
> * names for the GPIOs in this chip. Any entry in the array

was that really a typo, or was it meant to represent "if and only
if?

rday
--

========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA

Linux Consulting, Training and Annoying Kernel Pedantry.

Web page: http://crashcourse.ca
Linked In: http://www.linkedin.com/in/rpjday
Twitter: http://twitter.com/rpjday
========================================================================