From: Takashi Iwai Date: Tue, 21 Feb 2012 11:54:17 +0000 (+0100) Subject: ALSA: hda/realtek - Small code cleanups X-Git-Tag: v3.4-rc1~144^2~4^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=070cff4cfd267b9d266f4f8362ea99532234eb21;p=pandora-kernel.git ALSA: hda/realtek - Small code cleanups A few clean-ups for post-static-quirk time: - Call alc_auto_init_std() statically in alc_init() instead of setting spec->init_hook in each caller. spec->init_hook field is left unused for any future use. - Move the call of set_capture_mixer() to to alc_parse_auto_config() instead of each caller. - Get rid of the ADC-filling and imux check in each parser function. This is no longer needed since the auto-parser always check ADCs and imux. It was only for the static quirks. - Kill unused defines Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed