From: Lars-Peter Clausen Date: Thu, 17 Jul 2014 20:01:08 +0000 (+0200) Subject: ASoC: Add function to register component controls X-Git-Tag: omap-for-v3.17/fixes-against-rc2~144^2~5^2~16^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f2780ad4c2a398528c7bb1572158d6e894e5dd2;p=pandora-kernel.git ASoC: Add function to register component controls We have now everything in place to actual let a component register controls. Add a function which allows to do so. Also update snd_soc_add_codec_controls() and snd_soc_platform_controls() to use this new function internally. And while we are at it also change the num_controls parameter of those two functions from int to unsigned int. Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed