ASoC: sunxi: Convert to RUNTIME_PM_OPS()
authorTakashi Iwai <tiwai@suse.de>
Mon, 17 Mar 2025 09:55:43 +0000 (10:55 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 17 Mar 2025 10:14:59 +0000 (10:14 +0000)
commit723b690723287c39b386dbf8dad8834c4acbc0ef
treea84caf1da3bd352532a1c8a313cb5d283be1b858
parent7369a2d95878f427959980539549d0eb9ec4958c
ASoC: sunxi: Convert to RUNTIME_PM_OPS()

Use the newer RUNTIME_PM_OPS() instead of SET_RUNTIME_PM_OPS()
together with pm_ptr().

This optimizes slightly when CONFIG_PM is disabled, too.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250317095603.20073-82-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-spdif.c
sound/soc/sunxi/sun50i-dmic.c
sound/soc/sunxi/sun8i-codec.c