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

From: Robert P. J. Day
Date: Tue Jun 02 2009 - 10:07:43 EST


On Tue, 2 Jun 2009, Yoichi Yuasa wrote:

> Signed-off-by: Yoichi Yuasa <yoichi_yuasa@xxxxxxxxxxxxxx>
>
> 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
========================================================================
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/