]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: omap: implement get_direction
authorYegor Yefremov <yegorslists@googlemail.com>
Thu, 24 Apr 2014 06:57:39 +0000 (08:57 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 28 Apr 2014 19:35:10 +0000 (12:35 -0700)
commitfdb81f81105d234aa1d8317b47d0c607f77658aa
treec927d2b8c41430de73de5f013320189424236910
parent589dadf110251e017d14cb1be4257dbea6f706ec
gpio: omap: implement get_direction

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@googlemail.com>
Acked-by: Javier Martinez Canillas <javier@dowhile0.org>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-omap.c