]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-core: tidyup for card->deferred_resume_work
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 7 Aug 2019 01:31:24 +0000 (10:31 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 8 Aug 2019 19:56:56 +0000 (20:56 +0100)
commit5a970dd611f1bea7c78bfee709ca77394a8ba49c
tree2e3d2503ab2f1a7da2e621788950c0dea00f5562
parentd4e6fdb953da594ec702e0935a0820ebdf5f1baf
ASoC: soc-core: tidyup for card->deferred_resume_work

card->deferred_resume_work is used if CONFIG_PM_SLEEP was defined.
but
1) It is defined even though CONFIG_PM_SLEEP was not defined
2) random ifdef code is difficult to read.
This patch tidyup these issues.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/877e7paho1.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-core.c