pinctrl: imx: make imx_pmx_ops.gpio_set_direction platform specific callbacks
authorDong Aisheng <aisheng.dong@nxp.com>
Tue, 25 Jul 2017 13:41:55 +0000 (21:41 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Aug 2017 13:01:01 +0000 (15:01 +0200)
commit3be6f65102a859d0a4b1b6448df8f4214f3d45ae
treeb57f2697a8168ab245e6febce4f8b8b1e7f167b5
parenta5c771e6cbdbe026d933c28a7705f6246bac7e64
pinctrl: imx: make imx_pmx_ops.gpio_set_direction platform specific callbacks

Various IMX platforms may have different imx_pmx_ops.gpio_set_direction
implementations, so let's make it platform specific callbacks instead of
the fixed common one.

Currently only VF610 platform implements it. No function level changes.

Cc: Alexandre Courbot <gnurou@gmail.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Acked-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/freescale/pinctrl-imx.c
drivers/pinctrl/freescale/pinctrl-imx.h
drivers/pinctrl/freescale/pinctrl-vf610.c