MLK-17491-12 gpio: gpio-vf610: put gpio direction setting in vf610_gpio_direction_output
authorDong Aisheng <aisheng.dong@nxp.com>
Wed, 6 Sep 2017 12:31:28 +0000 (20:31 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:54:28 +0000 (14:54 -0500)
commita9aa76312837a9716c67d34fd2e416c6e79ec87e
tree90a9d0f4c057d82bb0d7b2e633f6f18359faf8d0
parent8b64003689e834fb188b20b2b7b6dcc321297f20
MLK-17491-12 gpio: gpio-vf610: put gpio direction setting in vf610_gpio_direction_output

The gpio direction setting is better to be put in vf610_gpio_direction_output
rather than vf610_gpio_set where the later one is only for value set.

Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
drivers/gpio/gpio-vf610.c