pinctrl: imx: use generic pinmux helpers for managing functions
authorGary Bisson <gary.bisson@boundarydevices.com>
Mon, 2 Jan 2017 18:20:22 +0000 (19:20 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 3 Jan 2017 08:26:21 +0000 (09:26 +0100)
commit3fd6d6ad73af90522321451a2d10b0a8967d47d1
treeb26983925e54ba538692032e40dcf52732d6f317
parente566fc11ea76ec10a42fc92c5561ace4479770dd
pinctrl: imx: use generic pinmux helpers for managing functions

Now using function_desc structure instead of imx_pmx_func.

Also leveraging generic functions to retrieve functions count/name/groups.

The imx_free_funcs function can be removed since it is now handled by
the core driver during unregister.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/freescale/Kconfig
drivers/pinctrl/freescale/pinctrl-imx.c
drivers/pinctrl/freescale/pinctrl-imx.h