ASoC: tegra: Remove unnecessary function call
authorDonglin Peng <dolinux.peng@gmail.com>
Sun, 20 Aug 2017 06:02:17 +0000 (14:02 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 21 Aug 2017 17:15:57 +0000 (18:15 +0100)
commite4eabf75ad9a0d4afb4a35c8c4fac7e437d5da06
tree8288d64719f83553e797595ff79e65e74c4602b7
parent3bcfe80f1c471b6bbade9f1a725778ea0471bb49
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>
sound/soc/tegra/tegra_alc5632.c
sound/soc/tegra/tegra_max98090.c
sound/soc/tegra/tegra_rt5640.c
sound/soc/tegra/tegra_rt5677.c
sound/soc/tegra/tegra_sgtl5000.c
sound/soc/tegra/tegra_wm8753.c
sound/soc/tegra/tegra_wm8903.c
sound/soc/tegra/tegra_wm9712.c
sound/soc/tegra/trimslice.c