From: Peter Ujfalusi Date: Tue, 30 Nov 2010 14:00:02 +0000 (+0200) Subject: ASoC: tpa6130a2: Use one event handler for PGA_E X-Git-Tag: v2.6.38-rc1~236^2^2~39^2^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cc14e13d15ec558c880ce6eaaddf99c08f85ab6;p=pandora-kernel.git ASoC: tpa6130a2: Use one event handler for PGA_E Reduce the amount of duplicated code by using single event handler for PGA_E to enable the needed channel. Use the w->shift to pass the channel information to the handler function. Signed-off-by: Peter Ujfalusi Acked-by: Mark Brown Signed-off-by: Liam Girdwood --- Reading git-diff-tree failed