commit | 4906d09164c00979dcbb28060231d9ce46ab2061 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Thu Dec 20 21:14:13 2018 +0800 |
committer | Mark Brown <broonie@kernel.org> | Thu Dec 20 14:36:04 2018 +0000 |
tree | 5a62b3cd9620c55df8a8c138f08adb192addcee9 | |
parent | 308144ce8e51bb6f9bed0ff0e72e7864f5f405f3 [diff] |
regulator: mcp16502: Use #ifdef CONFIG_PM_SLEEP around mcp16502_suspend/resume_noirq mcp16502_suspend/resume_noirq is only used by SET_NOIRQ_SYSTEM_SLEEP_PM_OPS when CONFIG_PM_SLEEP is defined. So use #ifdef CONFIG_PM_SLEEP instead CONFIG_SUSPEND guard. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>