0
0
mirror of https://mirrors.bfsu.edu.cn/git/linux.git synced 2024-12-14 06:24:53 +08:00
linux/sound/soc/mediatek/mt6797
Jiaxin Yu faf695517c
ASoC: mediatek: remove unnecessary CONFIG_PM
The unnecessary conditional inclusion caused the following warning.

Such as:
>> sound/soc/mediatek/mt8192/mt8192-afe-pcm.c:2368:32: warning: unused
>> variable 'mt8192_afe_pm_ops' [-Wunused-const-variable]
   static const struct dev_pm_ops mt8192_afe_pm_ops = {

Because runtime_pm already handles the case without CONFIG_PM, we
can remove CONFIG_PM condition.

Signed-off-by: Jiaxin Yu <jiaxin.yu@mediatek.com>
Reported-by: kernel test robot <lkp@intel.com>
Acked-by: Tzung-Bi Shih <tzungbi@google.com>
Link: https://lore.kernel.org/r/20211125042422.2349-1-jiaxin.yu@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-11-25 11:54:28 +00:00
..
Makefile ASoC: mt6797: add Hostless DAI 2018-05-31 11:25:08 +01:00
mt6797-afe-clk.c ASoC: mt6797: switch to SPDX license tag 2018-04-27 11:52:32 +01:00
mt6797-afe-clk.h ASoC: mt6797: switch to SPDX license tag 2018-04-27 11:52:32 +01:00
mt6797-afe-common.h ASoC: mt6797: sub dai use list_head 2018-06-29 13:31:53 +01:00
mt6797-afe-pcm.c ASoC: mediatek: remove unnecessary CONFIG_PM 2021-11-25 11:54:28 +00:00
mt6797-dai-adda.c ASoC: mt6797: sub dai use list_head 2018-06-29 13:31:53 +01:00
mt6797-dai-hostless.c ASoC: mt6797: sub dai use list_head 2018-06-29 13:31:53 +01:00
mt6797-dai-pcm.c ASoC: mediatek: sync parameter naming (rate/sample_bits) 2021-01-21 12:37:55 +00:00
mt6797-interconnection.h ASoC: mt6797: switch to SPDX license tag 2018-04-27 11:52:32 +01:00
mt6797-mt6351.c ASoC: mediatek: mt6797-mt6351: use modern dai_link style 2019-06-06 21:24:53 +01:00
mt6797-reg.h ASoC: mt6797: add PCM interface 2018-05-31 11:25:04 +01:00