From: Mark Brown Date: Tue, 5 May 2009 09:27:38 +0000 (+0100) Subject: ASoC: Remove redundant codec pointer from DAIs X-Git-Tag: v2.6.31-rc5~1^2~13^2~29^2~56 X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=bbd993077d788589a86a718ba7a7895ba5e71a17;p=~andy%2Flinux ASoC: Remove redundant codec pointer from DAIs The DAI structure has two pointers to the codec, one in the body of the DAI and one in a union for a parent pointer. Drop the parent pointer version. Signed-off-by: Mark Brown --- diff --git a/include/sound/soc-dai.h b/include/sound/soc-dai.h index a997c2cac63..496dc30457b 100644 --- a/include/sound/soc-dai.h +++ b/include/sound/soc-dai.h @@ -205,11 +205,8 @@ struct snd_soc_dai { /* DAI private data */ void *private_data; - /* parent codec/platform */ - union { - struct snd_soc_codec *codec; - struct snd_soc_platform *platform; - }; + /* parent platform */ + struct snd_soc_platform *platform; struct list_head list; };