MLK-21847 pinctrl: imx8m: Remove DEVRES selecting
authorYe Li <ye.li@nxp.com>
Mon, 22 Apr 2019 07:31:38 +0000 (00:31 -0700)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 09:36:09 +0000 (02:36 -0700)
commitbaeed1c2a36c07126e35a3cdb34f4f392e88c939
treedaa2280211d2e94dd61fbe9113ea761cb862d923
parent98da275d2db0cc31c7906f66ee0beb4a2c83a634
MLK-21847 pinctrl: imx8m: Remove DEVRES selecting

The CONFIG_DEVRES is not a necessary config for pinctrl. We decouple the
dependence from the kconfig. So the DEVRES is not default enabled.

When using DWC3 gadget driver, without enabling gadget DM driver, the calling
to devm_kzalloc will cause crash if CONFIG_DEVRES is set.

Signed-off-by: Ye Li <ye.li@nxp.com>
drivers/pinctrl/nxp/Kconfig