ALSA: hdspm - Refactor ENUMERATED_CTL_INFO into function
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Fri, 5 Jul 2013 09:27:59 +0000 (11:27 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 5 Jul 2013 12:50:42 +0000 (14:50 +0200)
commit8cea57104273909ab0825df48149840aad9d2b14
tree17b1594e64530877cbbc56a9455a63d22038f0c2
parentfb0f121e0f346bec45810a9439e936ae62fd2441
ALSA: hdspm - Refactor ENUMERATED_CTL_INFO into function

ENUMERATED_CTL_INFO is a macro, so the binary code is generated multiple
times. To avoid code duplication, refactor the involved functionality
into a function and make ENUMERATED_CTL_INFO a call to this function.

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