diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-08-26 08:25:13 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-08-26 15:41:59 -0400 |
commit | f61df384282dfd1ca845e73ca8b8a187b87eb38a (patch) | |
tree | 3157a6cf12fd1f939c4c55a289db6602e9f18d09 /sound | |
parent | 6d22db43cf8b841dae37e7e3ee284c2b6c91a58b (diff) |
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: | |||
1114 | snd_soc_unregister_component(&pdev->dev); | 1114 | snd_soc_unregister_component(&pdev->dev); |
1115 | 1115 | ||
1116 | error_dev: | 1116 | error_dev: |
1117 | dev_set_drvdata(&pdev->dev, NULL); | ||
1118 | device_remove_file(&pdev->dev, dev_attr); | 1117 | device_remove_file(&pdev->dev, dev_attr); |
1119 | 1118 | ||
1120 | error_clk: | 1119 | error_clk: |