projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d22db4
)
ASoC: fsl_ssi: Remove unnecessary dev_set_drvdata()
author
Fabio Estevam
<fabio.estevam@freescale.com>
Mon, 26 Aug 2013 12:25:13 +0000
(09:25 -0300)
committer
Mark Brown
<broonie@linaro.org>
Mon, 26 Aug 2013 19:41:59 +0000
(20:41 +0100)
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>
sound/soc/fsl/fsl_ssi.c
patch
|
blob
|
history
diff --git
a/sound/soc/fsl/fsl_ssi.c
b/sound/soc/fsl/fsl_ssi.c
index
5cf626c
..
c6b7439
100644
(file)
--- 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: