From: Daniel Mack Date: Fri, 8 Mar 2013 13:19:38 +0000 (+0100) Subject: ASoC: davinci-mcasp: clean up davinci_hw_common_param() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~52^2~42^2~18^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecf327c7ca5ddcbe611a33c88c19b8be3d0d2322;p=pandora-kernel.git ASoC: davinci-mcasp: clean up davinci_hw_common_param() As pointed of by Vaibhav, commit 2952b27e2 ("ASoC: davinci-mcasp: Add support for multichannel playback") duplicated the logic of counting the active serializers. That can be avoided by shifting the code around a bit. Also, drop two unused defines introduced by the same commit. Signed-off-by: Daniel Mack Acked-by: Vaibhav Bedia Signed-off-by: Mark Brown --- Reading git-diff-tree failed