[PATCH 11/25] ASoC: hdac: remove unnecessary CONFIG_PM_SLEEP
From: Coiby Xu
Date: Thu Oct 29 2020 - 03:45:00 EST
SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG.
Signed-off-by: Coiby Xu <coiby.xu@xxxxxxxxx>
---
sound/soc/intel/skylake/skl.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sound/soc/intel/skylake/skl.c b/sound/soc/intel/skylake/skl.c
index 8b993722f74e..da32d68080be 100644
--- a/sound/soc/intel/skylake/skl.c
+++ b/sound/soc/intel/skylake/skl.c
@@ -322,7 +322,6 @@ static int _skl_resume(struct hdac_bus *bus)
}
#endif
-#ifdef CONFIG_PM_SLEEP
/*
* power management
*/
@@ -400,7 +399,6 @@ static int skl_resume(struct device *dev)
return ret;
}
-#endif /* CONFIG_PM_SLEEP */
#ifdef CONFIG_PM
static int skl_runtime_suspend(struct device *dev)
--
2.28.0