pinctrl: freescale: remove generic pin config core support
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Thu, 2 Mar 2023 07:21:31 +0000 (08:21 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 7 Mar 2023 13:15:37 +0000 (14:15 +0100)
commit6cf103bc03f8a915c8b5c8733a0e7404112f88d8
tree10c4ba9b9256bfbc859eaee23954350bac8455f5
parent5a8f9cf269e8e33b8381f6dafb034c6da49f8228
pinctrl: freescale: remove generic pin config core support

No instance of "struct imx_pinctrl_soc_info" sets '.generic_pinconf =
true', so all of this is effectively dead code.

To make it easier to understand the actual code, remove all the unused
cruft. This effectively reverts a5cadbbb081c ("pinctrl: imx: add
generic pin config core support").

It was only in use by a single SOC (imx7ulp) for a few releases, and
the commit message of dbffda08f0e9 ("pinctrl: fsl: imx7ulp: change to
use imx legacy binding") suggests that it won't be used in the
future. Certainly no new user has appeared in 20+ releases, and should
the need arise, this can be dug out of git history again.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/20230302072132.1051590-1-linux@rasmusvillemoes.dk
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