pinctrl: intel: Fix compilation warning when !CONFIG_PM_SLEEP
pinctrl: intel: Fix compilation warning when !CONFIG_PM_SLEEP

We get following warning when CONFIG_PM_SLEEP is not set

  warning: â€˜intel_gpio_irq_initâ€™ defined but not used [-Wunused-function]

Since the function is only called from intel_pinctrl_resume() move it
inside CONFIG_PM_SLEEP guard as well.

Signed-off-by: Mika Westerberg <afb75201fb002d7fdd2b0b231e006999e00db8a9@linux.intel.com>
Signed-off-by: Linus Walleij <9cd9d802d23c0ed5e224beabf4ae4a5c478746ef@linaro.org>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs