diff options
author | Claudiu Beznea <claudiu.beznea@microchip.com> | 2023-05-17 12:49:02 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-05-23 13:55:55 +0100 |
commit | 2f3092e77f98fcfc0d653846591401bfe2a5232e (patch) | |
tree | d2e993a5946795b247c9084d06e01a8137a90689 /sound/soc/amd | |
parent | 63def6c17134141a17997e06d914d1b573ddceaf (diff) | |
download | linux-2f3092e77f98fcfc0d653846591401bfe2a5232e.tar.gz linux-2f3092e77f98fcfc0d653846591401bfe2a5232e.tar.bz2 linux-2f3092e77f98fcfc0d653846591401bfe2a5232e.zip |
ASoC: do not include pm_runtime.h if not used
Do not include pm_runtime.h header in files where APIs exported by
pm_runtime.h are not used.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com> # for omap-mcbsp-st.c
Link: https://lore.kernel.org/r/20230517094903.2895238-2-claudiu.beznea@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd')
-rw-r--r-- | sound/soc/amd/acp/acp-pci.c | 1 | ||||
-rw-r--r-- | sound/soc/amd/acp/acp-platform.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/amd/acp/acp-pci.c b/sound/soc/amd/acp/acp-pci.c index a0c84cd07fde..8154fbfd1229 100644 --- a/sound/soc/amd/acp/acp-pci.c +++ b/sound/soc/amd/acp/acp-pci.c @@ -15,7 +15,6 @@ #include <linux/interrupt.h> #include <linux/pci.h> #include <linux/platform_device.h> -#include <linux/pm_runtime.h> #include <linux/module.h> #include "amd.h" diff --git a/sound/soc/amd/acp/acp-platform.c b/sound/soc/amd/acp/acp-platform.c index 447612a7a762..f220378ec20e 100644 --- a/sound/soc/amd/acp/acp-platform.c +++ b/sound/soc/amd/acp/acp-platform.c @@ -18,7 +18,6 @@ #include <sound/pcm_params.h> #include <sound/soc.h> #include <sound/soc-dai.h> -#include <linux/pm_runtime.h> #include <linux/dma-mapping.h> #include "amd.h" |