commit | 1e814030954015e42621191f3adc52df2241dc08 | [log] [tgz] |
---|---|---|
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | Mon Aug 01 06:11:36 2016 +0000 |
committer | Mark Brown <broonie@kernel.org> | Tue Aug 09 10:38:21 2016 +0100 |
tree | 1ed49c78eef84c25d5a44799a94ece3702757493 | |
parent | 6adcbdcd4b6e8301c3a4c61284e701f87de9a409 [diff] |
ASoC: remove snd_soc_pcm_set/get_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, this patch removes snd_soc_pcm_set/get_drvdata(). Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>