ASoC: use pm.h instead of runtime_pm.h
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Wed, 17 May 2023 09:49:03 +0000 (12:49 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 23 May 2023 12:55:56 +0000 (13:55 +0100)
Do not include pm_runtime.h header in files where runtime PM support is
not implemented. Use pm.h instead as suspend to RAM specific
implementation is available.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20230517094903.2895238-3-claudiu.beznea@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98373-i2c.c
sound/soc/qcom/lpass-sc7180.c
sound/soc/qcom/lpass-sc7280.c

index 3d6da4f133de61b8e247987703324087c9a1accf..0fa5ceca62a26555ae1ba533cb59477aa58aa371 100644 (file)
@@ -9,7 +9,7 @@
 #include <linux/mod_devicetable.h>
 #include <linux/of.h>
 #include <linux/of_gpio.h>
-#include <linux/pm_runtime.h>
+#include <linux/pm.h>
 #include <linux/regmap.h>
 #include <linux/slab.h>
 #include <linux/cdev.h>
index 41db6617e2ed788d2b0c64194ec54508695f6963..56db852f4eab31998cfb1b5ac7ec04714013c64c 100644 (file)
@@ -12,7 +12,7 @@
 #include <linux/module.h>
 #include <linux/of.h>
 #include <linux/platform_device.h>
-#include <linux/pm_runtime.h>
+#include <linux/pm.h>
 #include <dt-bindings/sound/sc7180-lpass.h>
 #include <sound/pcm.h>
 #include <sound/soc.h>
index d43f480cbae3837aafdcb93a5be9495a506e92b8..bcf18fe8e14deea71cab5acb17a1e725c8f256e7 100644 (file)
@@ -8,7 +8,7 @@
 #include <linux/module.h>
 #include <sound/pcm.h>
 #include <sound/soc.h>
-#include <linux/pm_runtime.h>
+#include <linux/pm.h>
 
 #include <dt-bindings/sound/sc7180-lpass.h>