diff options
| author | Donglin Peng <[email protected]> | 2017-08-20 05:21:35 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2017-08-21 16:10:53 +0000 |
| commit | 1107a293b7c33723ace2a8d18f5c6febcd576d7a (patch) | |
| tree | 01cbd7bdd7f713186506948ed412e30fdfe281ec /net/switchdev/switchdev.c | |
| parent | ASoC: samsung: make snd_soc_ops const (diff) | |
| download | kernel-1107a293b7c33723ace2a8d18f5c6febcd576d7a.tar.gz kernel-1107a293b7c33723ace2a8d18f5c6febcd576d7a.zip | |
ASoC: s3c24xx_uda134x: 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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
