Thread (3 messages) 3 messages, 3 authors, 2021-11-25

Re: [PATCH] ASoC: mediatek: remove unnecessary CONFIG_PM

From: Tzung-Bi Shih <hidden>
Date: 2021-11-25 06:14:44
Also in: alsa-devel, linux-mediatek, lkml

On Thu, Nov 25, 2021 at 12:24:22PM +0800, Jiaxin Yu wrote:
The unnecessary conditional inclusion caused the following warning.

Such as:
quoted
quoted
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 <redacted>
Reported-by: kernel test robot <redacted>
Acked-by: Tzung-Bi Shih <redacted>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help