commit | a6cece9d81990e729c1f9da2a5bff2d29f7df649 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Fri Oct 31 11:24:32 2014 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Nov 04 15:09:10 2014 +0100 |
tree | 46746842e5039a1ce4e01e1e9de58ccb46f234de | |
parent | 4c8c3a4fcc021677c9a363b4e77f61dd09dbfd1a [diff] |
ALSA: usb-audio: Pass direct struct pointer instead of list_head Some functions in mixer.c and endpoint.c receive list_head instead of the object itself. This is not obvious and rather error-prone. Let's pass the proper object directly instead. The functions in midi.c still receive list_head and this can't be changed since the object definition isn't exposed to the outside of midi.c, so left as is. Signed-off-by: Takashi Iwai <tiwai@suse.de>