summaryrefslogtreecommitdiff
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2016-08-01 09:10:54 +0300
committerMark Brown <broonie@kernel.org>2016-08-09 12:38:21 +0300
commit6adcbdcd4b6e8301c3a4c61284e701f87de9a409 (patch)
treeb441cda0688d75027e4f4778c139cbaaa2dc2c3b /scripts/checkpatch.pl
parent29b4817d4018df78086157ea3a55c1d9424a7cfc (diff)
downloadlinux-6adcbdcd4b6e8301c3a4c61284e701f87de9a409.tar.xz
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 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions