]> git.ipfire.org Git - thirdparty/linux.git/commit
ALSA: hda/ca0132: Use cleanup macros for PM controls
authorTakashi Iwai <tiwai@suse.de>
Wed, 27 Aug 2025 07:28:42 +0000 (09:28 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 09:52:13 +0000 (11:52 +0200)
commite056e8e14c2e21956974712f737734e453cdb8dc
treeded77b5b2460ae9e5b153a106f6104933a373c56
parent5d8c9c987fbdd65677315198c2b1f35a440d7cdf
ALSA: hda/ca0132: Use cleanup macros for PM controls

The new macro CLASS(snd_hda_power) can replace the manual
snd_hda_power_up() and _down() calls as well as the *_pm_*() variants
gracefully.

Merely code cleanups and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250827072916.31933-3-tiwai@suse.de
sound/hda/codecs/ca0132.c