ASoC: fsl_micfil: Use SET_SYSTEM_SLEEP_PM_OPS to simplify PM
authorChancel Liu <chancel.liu@nxp.com>
Wed, 2 Aug 2023 05:21:17 +0000 (13:21 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 2 Aug 2023 12:10:34 +0000 (13:10 +0100)
commita38a4090e2c400c6c49c584cda6f28c73c08f5f1
treea9dd3ffbef6d4317e148400d26e1e39aa1e19590
parent367365051b06e172c91172e3273eea72988ce8f6
ASoC: fsl_micfil: Use SET_SYSTEM_SLEEP_PM_OPS to simplify PM

Use SET_SYSTEM_SLEEP_PM_OPS to simplify suspend and resume function.
fsl_micfil_suspend() and fsl_micfil_resume() can be deleted.

Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com>
Link: https://lore.kernel.org/r/20230802052117.1293029-4-chancel.liu@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_micfil.c