gpio: dwapb_gpio: Enable get_function support
authorLey Foon Tan <ley.foon.tan@intel.com>
Thu, 16 Aug 2018 05:46:30 +0000 (13:46 +0800)
committerMarek Vasut <marex@denx.de>
Sat, 15 Sep 2018 01:17:01 +0000 (03:17 +0200)
commit71f2700b92ab6e419741dc81c27d77cddfaab45f
tree10ac416365acc50de7c3e7385e976ddd217cbd8c
parentecb10a41c9adf2c499c3d19fff96a08bb9ad2aef
gpio: dwapb_gpio: Enable get_function support

Enabled get_function support for dwapb where the function will
return the state of GPIO port.

Signed-off-by: Chin Liang See <chin.liang.see@intel.com>
Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
drivers/gpio/dwapb_gpio.c