diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-08-26 14:25:13 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-08-26 21:41:59 +0200 |
commit | f61df384282dfd1ca845e73ca8b8a187b87eb38a (patch) | |
tree | 3157a6cf12fd1f939c4c55a289db6602e9f18d09 /sound | |
parent | ASoC: fsl_spdif: Reduce the noise on comments (diff) | |
download | linux-f61df384282dfd1ca845e73ca8b8a187b87eb38a.tar.xz linux-f61df384282dfd1ca845e73ca8b8a187b87eb38a.zip |
ASoC: fsl_ssi: Remove unnecessary dev_set_drvdata()
Driver core clears the driver data to NULL after device_release or on probe
failure, so just remove it from here.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/fsl/fsl_ssi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index 5cf626c4dc96..c6b743978d5e 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c @@ -1114,7 +1114,6 @@ error_dai: snd_soc_unregister_component(&pdev->dev); error_dev: - dev_set_drvdata(&pdev->dev, NULL); device_remove_file(&pdev->dev, dev_attr); error_clk: |