MLK-21076-6 pinctrl: imx8mm: Fix build warning when CONFIG_PM_SLEEP=n
authorAnson Huang <Anson.Huang@nxp.com>
Tue, 23 Jul 2019 06:19:20 +0000 (14:19 +0800)
committerAnson Huang <Anson.Huang@nxp.com>
Tue, 23 Jul 2019 07:53:13 +0000 (15:53 +0800)
commitc45dcb98898fceae740666be8ed4480f7ed3bf3c
tree6219ea9439d425af704a504176b6c8ae58b06c19
parentca9aee476671030209338d502bc6c11ddfb2ccfc
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)
drivers/pinctrl/freescale/pinctrl-imx8mm.c