summaryrefslogtreecommitdiff
path: root/sound/soc/blackfin/bf5xx-ac97-pcm.c
diff options
context:
space:
mode:
authorDonglin Peng <dolinux.peng@gmail.com>2017-08-20 09:02:17 +0300
committerMark Brown <broonie@kernel.org>2017-08-21 20:15:57 +0300
commite4eabf75ad9a0d4afb4a35c8c4fac7e437d5da06 (patch)
tree8288d64719f83553e797595ff79e65e74c4602b7 /sound/soc/blackfin/bf5xx-ac97-pcm.c
parent3bcfe80f1c471b6bbade9f1a725778ea0471bb49 (diff)
downloadlinux-e4eabf75ad9a0d4afb4a35c8c4fac7e437d5da06.tar.xz
ASoC: tegra: Remove unnecessary function call
First of all,the address of pdev->dev is assigned to card->dev,then the function platform_set_drvdata copies the value the variable card to pdev->dev.driver_data, but when calling snd_soc_register_card,the function dev_set_drvdata(card->dev, card) will also do the same copy operation,so i think that the former copy operation can be removed. Signed-off-by: Peng Donglin <dolinux.peng@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/blackfin/bf5xx-ac97-pcm.c')
0 files changed, 0 insertions, 0 deletions