From: Ben Gardiner Date: Fri, 9 Sep 2011 21:06:05 +0000 (-0400) Subject: ASoC: davinci-pcm: trivial: replace link with actual chan/link X-Git-Tag: v3.2-rc1~127^2~2^2~1^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be4ff9612271ac63e16bb2a8e6666e62538b60ea;p=pandora-kernel.git ASoC: davinci-pcm: trivial: replace link with actual chan/link The ambiguously named variable 'link' is used as a temporary throughout davinci-pcm -- its presence makes grepping (and groking) the code difficult. Replace link with the value of link in almost all sites. The exception is a couple places where the last-assigned link/chan needs to be returned by a function -- in these cases, rename to last_link. Signed-off-by: Ben Gardiner Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed