diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-05-03 12:33:32 +0200 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2020-06-29 20:08:00 -0400 |
commit | 17553ecdd0b578b6eb0569b8b256310099b744ce (patch) | |
tree | ecbbd34b8800b45b3ec0de59b13598ecc79659c1 /sound/soc/nuc900 | |
parent | 98f9e54a0d773489798485e93652657906b24774 (diff) |
ALSA: usb-audio: Clean up mixer element list traverse
[ Upstream commit 8c558076c740e8009a96c6fdc3d4245dde62be77 ]
Introduce a new macro for iterating over mixer element list for
avoiding the open codes in many places. Also the open-coded
container_of() and the forced cast to struct usb_mixer_elem_info are
replaced with another simple macro, too.
No functional changes but just readability improvement.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound/soc/nuc900')
0 files changed, 0 insertions, 0 deletions