[PATCH 05/10] gpio: pxa: remove gpio_type

Linus Walleij linus.walleij at linaro.org
Fri Jan 25 05:01:25 EST 2013


On Wed, Jan 23, 2013 at 9:25 AM, Haojian Zhuang
<haojian.zhuang at linaro.org> wrote:

> Since gpio_type is used to check whether gafr register is valid. So
> move it into platform data.
>
> Signed-off-by: Haojian Zhuang <haojian.zhuang at linaro.org>

(...)

> +++ b/drivers/gpio/gpio-pxa.c
> @@ -72,6 +72,7 @@ struct pxa_gpio_chip {
>         void __iomem    *regbase;
>         unsigned int    irq_base;
>         unsigned int    inverted;
> +       unsigned int    gafr;
>         char label[10];

Also looks like some kind of a bool.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list