ALSA: hdspm - Remove duplicate code from ALSA controls
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Sat, 9 Mar 2013 23:37:24 +0000 (00:37 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 11 Mar 2013 09:11:18 +0000 (10:11 +0100)
commite5b7b1fe3b263441a1fc89bc6a4cca5e80f348b0
treeed91afff65ac072417938d13019c41f085ca3154
parent696be0fbe244ca6d267fb1ce67a4a5f6c8fe37bc
ALSA: hdspm - Remove duplicate code from ALSA controls

Considerably shorten the code by using a macro. Though this won't lower
the binary size, it makes the source more readable.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/rme9652/hdspm.c