Skip to content
Commit a9c2dfc8 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Use a macro for snd_array iteration loops



Introduce a new helper macro, snd_array_for_each(), to iterate for
each snd_array element.  It slightly improves the readability than
lengthy open codes at each place.

Along with it, add const prefix to some obvious places.

There should be no functional changes by this.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent f656891c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment