MLK-21076-6 pinctrl: imx8mm: Fix build warning when CONFIG_PM_SLEEP=n
Fix below build warning when CONFIG_PM_SLEEP=n:
drivers/pinctrl/freescale/pinctrl-imx8mm.c:355:12: warning:
‘imx8mm_pinctrl_suspend’ defined but not used [-Wunused-function]
static int imx8mm_pinctrl_suspend(struct device *dev)
^
drivers/pinctrl/freescale/pinctrl-imx8mm.c:361:12: warning:
‘imx8mm_pinctrl_resume’ defined but not used [-Wunused-function]
static int imx8mm_pinctrl_resume(struct device *dev)
^
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
(cherry picked from commit
a4745f292da5bcaae3d75e3ac8b293c71fe7dcb1)