commit | a9c2dfc8527318a27db045cd7ea51e8ecab8c884 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Mon Apr 23 17:24:56 2018 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Apr 24 13:41:53 2018 +0200 |
tree | f951cd3875949bf9b330ac2fa62b252003da42f7 | |
parent | f656891c66193345ee90b212b280d726792dc16c [diff] |
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: Takashi Iwai <tiwai@suse.de>