Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bbd99307 authored by Mark Brown's avatar Mark Brown
Browse files

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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent b2907501
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -205,11 +205,8 @@ struct snd_soc_dai {
	/* DAI private data */
	void *private_data;

	/* parent codec/platform */
	union {
		struct snd_soc_codec *codec;
	/* parent platform */
	struct snd_soc_platform *platform;
	};

	struct list_head list;
};