aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-08-26 09:25:13 -0300
committerMark Brown <broonie@linaro.org>2013-08-26 20:41:59 +0100
commitf61df384282dfd1ca845e73ca8b8a187b87eb38a (patch)
tree3157a6cf12fd1f939c4c55a289db6602e9f18d09 /sound
parentASoC: fsl_spdif: Reduce the noise on comments (diff)
downloadlinux-dev-f61df384282dfd1ca845e73ca8b8a187b87eb38a.tar.xz
linux-dev-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.c1
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: