]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - sound/soc/atmel/sam9x5_wm8731.c
ASoC: atmel: sam9x5_wm8731: remove platform_set_drvdata
[karo-tx-linux.git] / sound / soc / atmel / sam9x5_wm8731.c
index 992ae38d5a15afda177080da1032300bcffd18ac..6f4e812d6e61d98dc6e2cf025e337d28c95bb63a 100644 (file)
@@ -153,8 +153,6 @@ static int sam9x5_wm8731_driver_probe(struct platform_device *pdev)
        of_node_put(codec_np);
        of_node_put(cpu_np);
 
-       platform_set_drvdata(pdev, card);
-
        ret = snd_soc_register_card(card);
        if (ret) {
                dev_err(&pdev->dev,