* [PATCH 03/25] ASoC: fsl: remove unnecessary CONFIG_PM_SLEEP
[not found] <20201029074301.226644-1-coiby.xu@gmail.com>
@ 2020-10-29 7:42 ` Coiby Xu
2020-10-29 7:42 ` [PATCH 04/25] ASoC: rockchip: " Coiby Xu
` (6 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: Coiby Xu @ 2020-10-29 7:42 UTC (permalink / raw)
To: Jaroslav Kysela, Takashi Iwai
Cc: moderated list:FREESCALE SOC SOUND DRIVERS, Timur Tabi, Xiubo Li,
Fabio Estevam, Sascha Hauer,
open list:FREESCALE SOC SOUND DRIVERS, Liam Girdwood, open list,
Nicolin Chen, Mark Brown, NXP Linux Team, Pengutronix Kernel Team,
Shawn Guo, Shengjiu Wang,
moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE
SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG.
Signed-off-by: Coiby Xu <coiby.xu@gmail.com>
---
sound/soc/fsl/imx-audmux.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sound/soc/fsl/imx-audmux.c b/sound/soc/fsl/imx-audmux.c
index 25c18b9e348f..6d77188a4eab 100644
--- a/sound/soc/fsl/imx-audmux.c
+++ b/sound/soc/fsl/imx-audmux.c
@@ -349,7 +349,6 @@ static int imx_audmux_remove(struct platform_device *pdev)
return 0;
}
-#ifdef CONFIG_PM_SLEEP
static int imx_audmux_suspend(struct device *dev)
{
int i;
@@ -377,7 +376,6 @@ static int imx_audmux_resume(struct device *dev)
return 0;
}
-#endif /* CONFIG_PM_SLEEP */
static const struct dev_pm_ops imx_audmux_pm = {
SET_SYSTEM_SLEEP_PM_OPS(imx_audmux_suspend, imx_audmux_resume)
--
2.28.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH 04/25] ASoC: rockchip: remove unnecessary CONFIG_PM_SLEEP
[not found] <20201029074301.226644-1-coiby.xu@gmail.com>
2020-10-29 7:42 ` [PATCH 03/25] ASoC: fsl: remove unnecessary CONFIG_PM_SLEEP Coiby Xu
@ 2020-10-29 7:42 ` Coiby Xu
2020-10-29 10:33 ` Robin Murphy
2020-10-29 7:42 ` [PATCH 12/25] ASoC: stm32: sai: " Coiby Xu
` (5 subsequent siblings)
7 siblings, 1 reply; 10+ messages in thread
From: Coiby Xu @ 2020-10-29 7:42 UTC (permalink / raw)
To: Jaroslav Kysela, Takashi Iwai
Cc: moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM...,
Heiko Stuebner, Liam Girdwood, open list,
open list:ARM/Rockchip SoC support, Mark Brown,
moderated list:ARM/Rockchip SoC support
SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG.
Signed-off-by: Coiby Xu <coiby.xu@gmail.com>
---
sound/soc/rockchip/rockchip_pdm.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sound/soc/rockchip/rockchip_pdm.c b/sound/soc/rockchip/rockchip_pdm.c
index 5adb293d0435..f3c19310aeeb 100644
--- a/sound/soc/rockchip/rockchip_pdm.c
+++ b/sound/soc/rockchip/rockchip_pdm.c
@@ -574,7 +574,6 @@ static int rockchip_pdm_remove(struct platform_device *pdev)
return 0;
}
-#ifdef CONFIG_PM_SLEEP
static int rockchip_pdm_suspend(struct device *dev)
{
struct rk_pdm_dev *pdm = dev_get_drvdata(dev);
@@ -601,7 +600,6 @@ static int rockchip_pdm_resume(struct device *dev)
return ret;
}
-#endif
static const struct dev_pm_ops rockchip_pdm_pm_ops = {
SET_RUNTIME_PM_OPS(rockchip_pdm_runtime_suspend,
--
2.28.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: [PATCH 04/25] ASoC: rockchip: remove unnecessary CONFIG_PM_SLEEP
2020-10-29 7:42 ` [PATCH 04/25] ASoC: rockchip: " Coiby Xu
@ 2020-10-29 10:33 ` Robin Murphy
2020-10-29 14:23 ` Coiby Xu
0 siblings, 1 reply; 10+ messages in thread
From: Robin Murphy @ 2020-10-29 10:33 UTC (permalink / raw)
To: Coiby Xu, Jaroslav Kysela, Takashi Iwai
Cc: moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM...,
Heiko Stuebner, open list, Liam Girdwood,
open list:ARM/Rockchip SoC support, Mark Brown,
moderated list:ARM/Rockchip SoC support
On 2020-10-29 07:42, Coiby Xu wrote:
> SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG.
I don't see anything in the !CONFIG_PM_CONFIG side of
SET_SYSTEM_SLEEP_PM_OPS() that prevents unused function warnings for the
callbacks - does this change depend on some other patch or is it just wrong?
Robin.
> Signed-off-by: Coiby Xu <coiby.xu@gmail.com>
> ---
> sound/soc/rockchip/rockchip_pdm.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/sound/soc/rockchip/rockchip_pdm.c b/sound/soc/rockchip/rockchip_pdm.c
> index 5adb293d0435..f3c19310aeeb 100644
> --- a/sound/soc/rockchip/rockchip_pdm.c
> +++ b/sound/soc/rockchip/rockchip_pdm.c
> @@ -574,7 +574,6 @@ static int rockchip_pdm_remove(struct platform_device *pdev)
> return 0;
> }
>
> -#ifdef CONFIG_PM_SLEEP
> static int rockchip_pdm_suspend(struct device *dev)
> {
> struct rk_pdm_dev *pdm = dev_get_drvdata(dev);
> @@ -601,7 +600,6 @@ static int rockchip_pdm_resume(struct device *dev)
>
> return ret;
> }
> -#endif
>
> static const struct dev_pm_ops rockchip_pdm_pm_ops = {
> SET_RUNTIME_PM_OPS(rockchip_pdm_runtime_suspend,
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [PATCH 04/25] ASoC: rockchip: remove unnecessary CONFIG_PM_SLEEP
2020-10-29 10:33 ` Robin Murphy
@ 2020-10-29 14:23 ` Coiby Xu
0 siblings, 0 replies; 10+ messages in thread
From: Coiby Xu @ 2020-10-29 14:23 UTC (permalink / raw)
To: Robin Murphy
Cc: moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM...,
Heiko Stuebner, open list, Liam Girdwood, Takashi Iwai,
open list:ARM/Rockchip SoC support, Mark Brown, Jaroslav Kysela,
moderated list:ARM/Rockchip SoC support
On Thu, Oct 29, 2020 at 10:33:52AM +0000, Robin Murphy wrote:
>On 2020-10-29 07:42, Coiby Xu wrote:
>>SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG.
>
>I don't see anything in the !CONFIG_PM_CONFIG side of
>SET_SYSTEM_SLEEP_PM_OPS() that prevents unused function warnings for
>the callbacks - does this change depend on some other patch or is it
>just wrong?
>
Thank you for the feedback! I'll add "__maybe_unused" in v2.
>Robin.
>
>>Signed-off-by: Coiby Xu <coiby.xu@gmail.com>
>>---
>> sound/soc/rockchip/rockchip_pdm.c | 2 --
>> 1 file changed, 2 deletions(-)
>>
>>diff --git a/sound/soc/rockchip/rockchip_pdm.c b/sound/soc/rockchip/rockchip_pdm.c
>>index 5adb293d0435..f3c19310aeeb 100644
>>--- a/sound/soc/rockchip/rockchip_pdm.c
>>+++ b/sound/soc/rockchip/rockchip_pdm.c
>>@@ -574,7 +574,6 @@ static int rockchip_pdm_remove(struct platform_device *pdev)
>> return 0;
>> }
>>-#ifdef CONFIG_PM_SLEEP
>> static int rockchip_pdm_suspend(struct device *dev)
>> {
>> struct rk_pdm_dev *pdm = dev_get_drvdata(dev);
>>@@ -601,7 +600,6 @@ static int rockchip_pdm_resume(struct device *dev)
>> return ret;
>> }
>>-#endif
>> static const struct dev_pm_ops rockchip_pdm_pm_ops = {
>> SET_RUNTIME_PM_OPS(rockchip_pdm_runtime_suspend,
>>
--
Best regards,
Coiby
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 12/25] ASoC: stm32: sai: remove unnecessary CONFIG_PM_SLEEP
[not found] <20201029074301.226644-1-coiby.xu@gmail.com>
2020-10-29 7:42 ` [PATCH 03/25] ASoC: fsl: remove unnecessary CONFIG_PM_SLEEP Coiby Xu
2020-10-29 7:42 ` [PATCH 04/25] ASoC: rockchip: " Coiby Xu
@ 2020-10-29 7:42 ` Coiby Xu
2020-10-29 7:42 ` [PATCH 13/25] ASoC: stm32: spdifrx: " Coiby Xu
` (4 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: Coiby Xu @ 2020-10-29 7:42 UTC (permalink / raw)
To: Jaroslav Kysela, Takashi Iwai
Cc: moderated list:STM32 AUDIO ASoC DRIVERS, Olivier Moysan,
Alexandre Torgue, Arnaud Pouliquen, Liam Girdwood, open list,
Mark Brown, Maxime Coquelin,
moderated list:ARM/STM32 ARCHITECTURE,
moderated list:ARM/STM32 ARCHITECTURE
SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG.
Signed-off-by: Coiby Xu <coiby.xu@gmail.com>
---
sound/soc/stm/stm32_sai_sub.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c
index 3aa1cf262402..38dd7e30af1b 100644
--- a/sound/soc/stm/stm32_sai_sub.c
+++ b/sound/soc/stm/stm32_sai_sub.c
@@ -1582,7 +1582,6 @@ static int stm32_sai_sub_remove(struct platform_device *pdev)
return 0;
}
-#ifdef CONFIG_PM_SLEEP
static int stm32_sai_sub_suspend(struct device *dev)
{
struct stm32_sai_sub_data *sai = dev_get_drvdata(dev);
@@ -1616,7 +1615,6 @@ static int stm32_sai_sub_resume(struct device *dev)
return ret;
}
-#endif /* CONFIG_PM_SLEEP */
static const struct dev_pm_ops stm32_sai_sub_pm_ops = {
SET_SYSTEM_SLEEP_PM_OPS(stm32_sai_sub_suspend, stm32_sai_sub_resume)
--
2.28.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH 13/25] ASoC: stm32: spdifrx: remove unnecessary CONFIG_PM_SLEEP
[not found] <20201029074301.226644-1-coiby.xu@gmail.com>
` (2 preceding siblings ...)
2020-10-29 7:42 ` [PATCH 12/25] ASoC: stm32: sai: " Coiby Xu
@ 2020-10-29 7:42 ` Coiby Xu
2020-10-29 7:42 ` [PATCH 14/25] ASoC: stm32: i2s: " Coiby Xu
` (3 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: Coiby Xu @ 2020-10-29 7:42 UTC (permalink / raw)
To: Jaroslav Kysela, Takashi Iwai
Cc: moderated list:STM32 AUDIO ASoC DRIVERS, Olivier Moysan,
Alexandre Torgue, Arnaud Pouliquen, Liam Girdwood, open list,
Mark Brown, Maxime Coquelin,
moderated list:ARM/STM32 ARCHITECTURE,
moderated list:ARM/STM32 ARCHITECTURE
SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG.
Signed-off-by: Coiby Xu <coiby.xu@gmail.com>
---
sound/soc/stm/stm32_spdifrx.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sound/soc/stm/stm32_spdifrx.c b/sound/soc/stm/stm32_spdifrx.c
index 1bfa3b2ba974..40262ff0c588 100644
--- a/sound/soc/stm/stm32_spdifrx.c
+++ b/sound/soc/stm/stm32_spdifrx.c
@@ -1056,7 +1056,6 @@ static int stm32_spdifrx_probe(struct platform_device *pdev)
MODULE_DEVICE_TABLE(of, stm32_spdifrx_ids);
-#ifdef CONFIG_PM_SLEEP
static int stm32_spdifrx_suspend(struct device *dev)
{
struct stm32_spdifrx_data *spdifrx = dev_get_drvdata(dev);
@@ -1075,7 +1074,6 @@ static int stm32_spdifrx_resume(struct device *dev)
return regcache_sync(spdifrx->regmap);
}
-#endif /* CONFIG_PM_SLEEP */
static const struct dev_pm_ops stm32_spdifrx_pm_ops = {
SET_SYSTEM_SLEEP_PM_OPS(stm32_spdifrx_suspend, stm32_spdifrx_resume)
--
2.28.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH 14/25] ASoC: stm32: i2s: remove unnecessary CONFIG_PM_SLEEP
[not found] <20201029074301.226644-1-coiby.xu@gmail.com>
` (3 preceding siblings ...)
2020-10-29 7:42 ` [PATCH 13/25] ASoC: stm32: spdifrx: " Coiby Xu
@ 2020-10-29 7:42 ` Coiby Xu
2020-10-29 7:42 ` [PATCH 15/25] ASoC: stm32: sai: " Coiby Xu
` (2 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: Coiby Xu @ 2020-10-29 7:42 UTC (permalink / raw)
To: Jaroslav Kysela, Takashi Iwai
Cc: moderated list:STM32 AUDIO ASoC DRIVERS, Olivier Moysan,
Alexandre Torgue, Arnaud Pouliquen, Liam Girdwood, open list,
Mark Brown, Maxime Coquelin,
moderated list:ARM/STM32 ARCHITECTURE,
moderated list:ARM/STM32 ARCHITECTURE
SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG.
Signed-off-by: Coiby Xu <coiby.xu@gmail.com>
---
sound/soc/stm/stm32_i2s.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sound/soc/stm/stm32_i2s.c b/sound/soc/stm/stm32_i2s.c
index 7c4d63c33f15..138acfb26882 100644
--- a/sound/soc/stm/stm32_i2s.c
+++ b/sound/soc/stm/stm32_i2s.c
@@ -984,7 +984,6 @@ static int stm32_i2s_probe(struct platform_device *pdev)
MODULE_DEVICE_TABLE(of, stm32_i2s_ids);
-#ifdef CONFIG_PM_SLEEP
static int stm32_i2s_suspend(struct device *dev)
{
struct stm32_i2s_data *i2s = dev_get_drvdata(dev);
@@ -1002,7 +1001,6 @@ static int stm32_i2s_resume(struct device *dev)
regcache_cache_only(i2s->regmap, false);
return regcache_sync(i2s->regmap);
}
-#endif /* CONFIG_PM_SLEEP */
static const struct dev_pm_ops stm32_i2s_pm_ops = {
SET_SYSTEM_SLEEP_PM_OPS(stm32_i2s_suspend, stm32_i2s_resume)
--
2.28.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH 15/25] ASoC: stm32: sai: remove unnecessary CONFIG_PM_SLEEP
[not found] <20201029074301.226644-1-coiby.xu@gmail.com>
` (4 preceding siblings ...)
2020-10-29 7:42 ` [PATCH 14/25] ASoC: stm32: i2s: " Coiby Xu
@ 2020-10-29 7:42 ` Coiby Xu
2020-10-29 7:42 ` [PATCH 16/25] ASoC: sirf: " Coiby Xu
2020-10-29 7:42 ` [PATCH 19/25] ASoC: sirf-audio: " Coiby Xu
7 siblings, 0 replies; 10+ messages in thread
From: Coiby Xu @ 2020-10-29 7:42 UTC (permalink / raw)
To: Jaroslav Kysela, Takashi Iwai
Cc: moderated list:STM32 AUDIO ASoC DRIVERS, Olivier Moysan,
Alexandre Torgue, Arnaud Pouliquen, Liam Girdwood, open list,
Mark Brown, Maxime Coquelin,
moderated list:ARM/STM32 ARCHITECTURE,
moderated list:ARM/STM32 ARCHITECTURE
SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG.
Signed-off-by: Coiby Xu <coiby.xu@gmail.com>
---
sound/soc/stm/stm32_sai.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sound/soc/stm/stm32_sai.c b/sound/soc/stm/stm32_sai.c
index 058757c721f0..40c9e554a3d7 100644
--- a/sound/soc/stm/stm32_sai.c
+++ b/sound/soc/stm/stm32_sai.c
@@ -245,7 +245,6 @@ static int stm32_sai_probe(struct platform_device *pdev)
return devm_of_platform_populate(&pdev->dev);
}
-#ifdef CONFIG_PM_SLEEP
/*
* When pins are shared by two sai sub instances, pins have to be defined
* in sai parent node. In this case, pins state is not managed by alsa fw.
@@ -280,7 +279,6 @@ static int stm32_sai_resume(struct device *dev)
return pinctrl_pm_select_default_state(dev);
}
-#endif /* CONFIG_PM_SLEEP */
static const struct dev_pm_ops stm32_sai_pm_ops = {
SET_SYSTEM_SLEEP_PM_OPS(stm32_sai_suspend, stm32_sai_resume)
--
2.28.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH 16/25] ASoC: sirf: remove unnecessary CONFIG_PM_SLEEP
[not found] <20201029074301.226644-1-coiby.xu@gmail.com>
` (5 preceding siblings ...)
2020-10-29 7:42 ` [PATCH 15/25] ASoC: stm32: sai: " Coiby Xu
@ 2020-10-29 7:42 ` Coiby Xu
2020-10-29 7:42 ` [PATCH 19/25] ASoC: sirf-audio: " Coiby Xu
7 siblings, 0 replies; 10+ messages in thread
From: Coiby Xu @ 2020-10-29 7:42 UTC (permalink / raw)
To: Jaroslav Kysela, Takashi Iwai
Cc: Barry Song,
moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM...,
Liam Girdwood, open list, Mark Brown,
moderated list:ARM/CSR SIRFPRIMA2 MACHINE SUPPORT
SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG.
Signed-off-by: Coiby Xu <coiby.xu@gmail.com>
---
sound/soc/sirf/sirf-usp.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sound/soc/sirf/sirf-usp.c b/sound/soc/sirf/sirf-usp.c
index 2af0c6f14ee6..ae2890827414 100644
--- a/sound/soc/sirf/sirf-usp.c
+++ b/sound/soc/sirf/sirf-usp.c
@@ -313,7 +313,6 @@ static int sirf_usp_pcm_runtime_resume(struct device *dev)
return 0;
}
-#ifdef CONFIG_PM_SLEEP
static int sirf_usp_pcm_suspend(struct device *dev)
{
struct sirf_usp *usp = dev_get_drvdata(dev);
@@ -340,7 +339,6 @@ static int sirf_usp_pcm_resume(struct device *dev)
}
return 0;
}
-#endif
static const struct snd_soc_component_driver sirf_usp_component = {
.name = "sirf-usp",
--
2.28.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH 19/25] ASoC: sirf-audio: remove unnecessary CONFIG_PM_SLEEP
[not found] <20201029074301.226644-1-coiby.xu@gmail.com>
` (6 preceding siblings ...)
2020-10-29 7:42 ` [PATCH 16/25] ASoC: sirf: " Coiby Xu
@ 2020-10-29 7:42 ` Coiby Xu
7 siblings, 0 replies; 10+ messages in thread
From: Coiby Xu @ 2020-10-29 7:42 UTC (permalink / raw)
To: Jaroslav Kysela, Takashi Iwai
Cc: Barry Song,
moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM...,
Liam Girdwood, open list, Mark Brown,
moderated list:ARM/CSR SIRFPRIMA2 MACHINE SUPPORT
SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG.
Signed-off-by: Coiby Xu <coiby.xu@gmail.com>
---
sound/soc/codecs/sirf-audio-codec.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sound/soc/codecs/sirf-audio-codec.c b/sound/soc/codecs/sirf-audio-codec.c
index a061d78473ac..b6a101ec6e7c 100644
--- a/sound/soc/codecs/sirf-audio-codec.c
+++ b/sound/soc/codecs/sirf-audio-codec.c
@@ -522,7 +522,6 @@ static int sirf_audio_codec_driver_remove(struct platform_device *pdev)
return 0;
}
-#ifdef CONFIG_PM_SLEEP
static int sirf_audio_codec_suspend(struct device *dev)
{
struct sirf_audio_codec *sirf_audio_codec = dev_get_drvdata(dev);
@@ -552,7 +551,6 @@ static int sirf_audio_codec_resume(struct device *dev)
return 0;
}
-#endif
static const struct dev_pm_ops sirf_audio_codec_pm_ops = {
SET_SYSTEM_SLEEP_PM_OPS(sirf_audio_codec_suspend, sirf_audio_codec_resume)
--
2.28.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 10+ messages in thread