summaryrefslogtreecommitdiff
path: root/mm/swap.c
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2016-04-29 21:55:23 +0530
committerLinus Walleij <linus.walleij@linaro.org>2016-04-30 13:15:10 +0200
commitf002d07c56c7b7007328e8fff2adf04db1c81e90 (patch)
tree3a9b90c61cf73f64934a4eee57d307aed179aebd /mm/swap.c
parent72d3200061776264941be1b5a9bb8e926b3b30a5 (diff)
gpio: tegra: Implement gpio_get_direction callback
Implement gpio_get_direction() callback for Tegra GPIO. The direction is only valid if the pin is configured as GPIO. If pin is not configured in GPIO mode then this function return error. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Stephen Warren <swarren@nvidia.com> Acked-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions