diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2016-08-01 06:10:54 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-08-09 10:38:21 +0100 |
commit | 6adcbdcd4b6e8301c3a4c61284e701f87de9a409 (patch) | |
tree | b441cda0688d75027e4f4778c139cbaaa2dc2c3b /Documentation/i2c | |
parent | 29b4817d4018df78086157ea3a55c1d9424a7cfc (diff) |
ASoC: lpass-platform: don't use snd_soc_pcm_set_drvdata()
snd_soc_pcm_set_drvdata() will set driver data to rtd->dev,
but driver data of rtd->dev is already used as "rtd" on
soc_post_component_init().
static int soc_post_component_init(xxx)
{
...
dev_set_drvdata(rtd->dev, rtd);
...
}
To remove confusion, snd_soc_pcm_set/get_drvdata() should be
removed soon. This patch is for it.
qcom/lpass-platform.c sets struct lpass_pcm_data to rtd->dev today,
but we can replace it to struct lpass_data :: private_data.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/i2c')
0 files changed, 0 insertions, 0 deletions