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/sof/mediatek | |
parent | 63def6c17134141a17997e06d914d1b573ddceaf (diff) | |
download | linux-stable-2f3092e77f98fcfc0d653846591401bfe2a5232e.tar.gz linux-stable-2f3092e77f98fcfc0d653846591401bfe2a5232e.tar.bz2 linux-stable-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/sof/mediatek')
-rw-r--r-- | sound/soc/sof/mediatek/mt8186/mt8186-clk.c | 1 | ||||
-rw-r--r-- | sound/soc/sof/mediatek/mt8195/mt8195-clk.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/sof/mediatek/mt8186/mt8186-clk.c b/sound/soc/sof/mediatek/mt8186/mt8186-clk.c index 2df3b7ae1c6f..cb2ab5884b8c 100644 --- a/sound/soc/sof/mediatek/mt8186/mt8186-clk.c +++ b/sound/soc/sof/mediatek/mt8186/mt8186-clk.c @@ -8,7 +8,6 @@ // Hardware interface for mt8186 DSP clock #include <linux/clk.h> -#include <linux/pm_runtime.h> #include <linux/io.h> #include "../../sof-audio.h" diff --git a/sound/soc/sof/mediatek/mt8195/mt8195-clk.c b/sound/soc/sof/mediatek/mt8195/mt8195-clk.c index 9ef08e43aa38..7cffcad00f9b 100644 --- a/sound/soc/sof/mediatek/mt8195/mt8195-clk.c +++ b/sound/soc/sof/mediatek/mt8195/mt8195-clk.c @@ -7,7 +7,6 @@ // Hardware interface for mt8195 DSP clock #include <linux/clk.h> -#include <linux/pm_runtime.h> #include <linux/io.h> #include "mt8195.h" #include "mt8195-clk.h" |