[PATCH v3] gpio: omap: implement get_direction

Linus Walleij linus.walleij at linaro.org
Thu Apr 24 06:35:14 PDT 2014


On Thu, Apr 24, 2014 at 8:57 AM,  <yegorslists at googlemail.com> wrote:

> From: Yegor Yefremov <yegorslists at googlemail.com>
>
> This patch implements gpio_chip's get_direction() routine, that
> lets other drivers get particular GPIOs direction using
> struct gpio_desc.
>
> Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>
> Acked-by: Javier Martinez Canillas <javier at dowhile0.org>
> ---
> Changes:
>         v3: get rid of _get_gpio_direction() (Linus Walleij)
>         v2: rework return value calculation

This v3 version applied with Santosh's ACK.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list