From: Markus Pargmann Date: Mon, 28 Apr 2014 10:54:48 +0000 (+0200) Subject: ASoC: fsl-ssi: Remove unnecessary variables from ssi_private X-Git-Tag: omap-for-v3.16/fixes-against-rc1~21^2~52^2~4^7~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=171d683d2ac4ab6f220cc99de08ef9ec2c039966;p=pandora-kernel.git ASoC: fsl-ssi: Remove unnecessary variables from ssi_private There are some variables defined in struct fsl_ssi_private that describe states that are also described by other variables. This patch adds some helper functions that return exactly the same information based on available variables. This helps to clean up struct fsl_ssi_private and remove them from the probe function. It also removes some not really used variables (new_binding, name). Signed-off-by: Markus Pargmann Tested-By: Michael Grzeschik Signed-off-by: Mark Brown --- Reading git-diff-tree failed