From: Lars-Peter Clausen Date: Sat, 31 Aug 2013 18:31:14 +0000 (+0200) Subject: ASoC: Remove 'reg_size' field from snd_soc_codec struct X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~14^2~72^2~37^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a94ed23436fb28bdcdd66e7fcf68ca5f7967e456;p=pandora-kernel.git ASoC: Remove 'reg_size' field from snd_soc_codec struct The reg_size field is calculated in snd_soc_register_codec() and then used exactly once in snd_soc_flat_cache_init(). Since it is calculated based on other fields from the codec struct just move the calculation to snd_soc_flat_cache_init() and remove the 'reg_size' field from the codec struct. Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed