Skip to content

Commit

Permalink
ASoC: Remove redundant codec pointer from DAIs
Browse files Browse the repository at this point in the history
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 <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed May 5, 2009
1 parent b290750 commit bbd9930
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions include/sound/soc-dai.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit bbd9930

Please sign in to comment.