From: Dimitris Papastamos Date: Wed, 12 Jan 2011 10:38:58 +0000 (+0000) Subject: ASoC: soc-cache: Add reg_size as a member to snd_soc_codec X-Git-Tag: v2.6.39-rc1~200^2^2~196 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aea170a099793abcd0e6de46b947458073204241;p=pandora-kernel.git ASoC: soc-cache: Add reg_size as a member to snd_soc_codec Simplify the use of reg_size, by calculating it once and storing it in the codec structure for later reference. The value of reg_size is reg_cache_size * reg_word_size. Signed-off-by: Dimitris Papastamos Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed