]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit79b315755212bf27e6728088a89717350a467611
tree6fec4787872b5f42cb0a73797aac03cb2aad9ce9
parentaf7cbe0c7fe7a4ed89d65d79b53c949caa02b860
ALSA: hdspm - Refactor serial number to avoid code duplication

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>
sound/pci/rme9652/hdspm.c