From: Liam Girdwood Date: Tue, 7 Jun 2011 15:08:33 +0000 (+0100) Subject: ASoC: core - Optimise and refactor pcm_new() to pass only rtd X-Git-Tag: v3.1-rc1~271^2~2^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=552d1ef6b5a98d7b95959d5b139071e3c90cebf1;p=pandora-kernel.git ASoC: core - Optimise and refactor pcm_new() to pass only rtd Currently pcm_new() passes in 3 arguments :- card, pcm and DAI. Refactor this to only pass in 1 argument (i.e. the rtd) since struct rtd contains card, pcm and DAI along with other members too that are useful too. Signed-off-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed