]> 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)
commitd777aaef92166c38b92e247d6e95e2f01540e998
tree2e3d2503ab2f1a7da2e621788950c0dea00f5562
parent0fc205fec55300b926a5a6673dbdc6497e40b57b
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