26 Nov
2008
26 Nov
'08
7:57 p.m.
Hi Takashi,
On Wed, Nov 26, 2008 at 04:44:08PM +0100, Takashi Iwai wrote:
this patch does some code cleanup in snd-usb-caiaq. No functional change whatsoever. Version number bumped to 1.3.9.
A macro for such is ugly and potentially dangerous, IMO. Make a function instead.
Also, please add an error check of the return value from snd_ctl_add().
Ok, agreed and done. However, I considered it a good idea as it avoided writing the array's name more than once.
Daniel