ALSA: HDA patch_via.c: cleanup
authorHarald Welte <HaraldWelte@viatech.com>
Tue, 9 Sep 2008 07:40:38 +0000 (15:40 +0800)
committerJaroslav Kysela <perex@perex.cz>
Tue, 9 Sep 2008 16:51:58 +0000 (18:51 +0200)
commiteb14a46cf974c59aadef8c120b7dfcb27bc81f24
tree0a87e805d6e3db6b5bb3f7f23fa9da994a0fedad
parente8f18ae558b30783c2c0f6df32626fbc789ba6f6
ALSA: HDA patch_via.c: cleanup

* add extra parenthesis to make code more readable
* use kzalloc() for alloc+zero rather than kcalloc()
* ensure that AUTO_SEQ_* starts at 0

Signed-off-by: Harald Welte <HaraldWelte@viatech.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/hda/patch_via.c