ALSA: hda/realtek: Clean up with snd_hda_codec_set_gpio()

Use a new helper function to clean up the code.

Along with it, make alc_write_gpio() static as well, which is used
only locally in realtek.c.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20260409093826.1317626-4-tiwai@suse.de
This commit is contained in:
Takashi Iwai 2026-04-09 11:38:16 +02:00
commit d19ecd85a2
2 changed files with 4 additions and 10 deletions