From: Lars-Peter Clausen Date: Mon, 29 Jul 2013 15:13:57 +0000 (+0200) Subject: ASoC: dapm: Add a helper to get the CODEC for DAPM kcontrol X-Git-Tag: v3.12-rc1~150^2~9^2~45^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eee5d7f99ae95059e1a3d1cfa2dea3ed8dbd94ac;p=pandora-kernel.git ASoC: dapm: Add a helper to get the CODEC for DAPM kcontrol We use the same 3 lines to get the CODEC for a kcontrol in a quite a few places. This patch puts them into a common helper function. Having this encapsulated in a helper function will also make it more easier to eventually change the data layout of the kcontrol's private data. Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed