OpenCloudOS-Kernel/sound/soc/mediatek/mt2701
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: mediatek: switch to SPDX license tag 2018-04-26 15:09:36 +01:00
mt2701-afe-clock-ctrl.c ASoC: mediatek: switch to SPDX license tag 2018-04-26 15:09:36 +01:00
mt2701-afe-clock-ctrl.h ASoC: mediatek: mt2701: align function prototype 2021-03-12 14:29:52 +00:00
mt2701-afe-common.h ASoC: mediatek: mt2701: Fix -Wunused-const-variable warnings 2019-08-22 18:29:01 +01:00
mt2701-afe-pcm.c ASoC: mediatek: remove unnecessary CONFIG_PM 2021-11-25 11:54:28 +00:00
mt2701-cs42448.c ASoC: mediatek: Constify static snd_soc_ops 2021-10-13 12:59:28 +01:00
mt2701-reg.h ASoC: mediatek: switch to SPDX license tag 2018-04-26 15:09:36 +01:00
mt2701-wm8960.c ASoC: mediatek: Constify static snd_soc_ops 2021-10-13 12:59:28 +01:00