gpio: max77620: use the new open drain callback
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 24 May 2016 13:13:46 +0000 (18:43 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 7 Jun 2016 07:35:16 +0000 (09:35 +0200)
commit23087a05006057bbaa2c1f42163e45586dd77094
tree0f7c9117289db0c5f1e632fa1fbe01c701bae11c
parentff93ec74966a84538a8129d7d8303a7f841a69c4
gpio: max77620: use the new open drain callback

The MAX77620 have a GPIO pins which can act as open drain or
push pull mode. Implement support for controlling this from GPIO
descriptor tables or other hardware descriptions such as
device tree by implementing the .set_single_ended() callback.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-max77620.c