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)
commit0218d5a8b2a3f4bdbc99523a61406b8c5ab14d39
tree51985556415413adc5f322132e53aefc5a13c7db
parentb787f68c36d49bb1d9236f403813641efa74a031
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