mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]>
This commit is contained in:
parent
b290750172
commit
bbd993077d
1 changed files with 2 additions and 5 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue