]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: bcm-kona: Implement get_direction callback
authorAxel Lin <axel.lin@ingics.com>
Mon, 13 Apr 2015 07:56:00 +0000 (15:56 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 27 Apr 2015 13:30:00 +0000 (15:30 +0200)
commite7f9602a674d65d01d2a94f1117518373911ef57
tree51985556415413adc5f322132e53aefc5a13c7db
parentdd4a0ac5a66093ba1477238fa2d0e835dd935ff6
gpio: bcm-kona: Implement get_direction callback

Implement gpio_chip's get_direction() callback, that lets other drivers get
particular GPIOs direction using gpiod_get_direction().

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Ray Jui <rjui@broadcom.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-bcm-kona.c