ALSA: hdspm - Refactor serial number to avoid code duplication
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Wed, 4 Jan 2012 13:31:16 +0000 (14:31 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 8 Jan 2012 15:05:40 +0000 (16:05 +0100)
The serial number is used multiple times in hdspm.c. Since it belongs
to the card, let's store it in struct hdspm and refer to it whenever
necessary.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found