]> Git Repo - linux.git/commitdiff
ASoC: fsl_ssi: Remove unnecessary dev_set_drvdata()
authorFabio Estevam <[email protected]>
Mon, 26 Aug 2013 12:25:13 +0000 (09:25 -0300)
committerMark Brown <[email protected]>
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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
sound/soc/fsl/fsl_ssi.c

index 5cf626c4dc96f7615f92bae6ef28c25b2ced500c..c6b743978d5ecdcdf402ddb43df0b7bd0400c422 100644 (file)
@@ -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:
This page took 0.068079 seconds and 4 git commands to generate.