From: Dimitris Papastamos Date: Fri, 5 Nov 2010 10:36:24 +0000 (+0000) Subject: ASoC: WM8776: Removed unneeded struct member X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=197ebd4053c42351e3737d83aebb33ed97ed2dd8;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ASoC: WM8776: Removed unneeded struct member The member reg_cache is not used at all and therefore it should be removed. This member was usually needed for older versions of ASoC that did not handle caching automatically and had to be done in the driver itself. Signed-off-by: Dimitris Papastamos Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/wm8776.c b/sound/soc/codecs/wm8776.c index 04182c464e35..0132a27140ae 100644 --- a/sound/soc/codecs/wm8776.c +++ b/sound/soc/codecs/wm8776.c @@ -34,7 +34,6 @@ /* codec private data */ struct wm8776_priv { enum snd_soc_control_type control_type; - u16 reg_cache[WM8776_CACHEREGNUM]; int sysclk[2]; };