From: Adrian Knoth Date: Wed, 4 Jan 2012 13:31:16 +0000 (+0100) Subject: ALSA: hdspm - Refactor serial number to avoid code duplication X-Git-Tag: v3.3-rc1~88^2~1^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d53a631ed92abd19d3c948a5daa535e53bd2bff;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed