Sfoglia il codice sorgente

Merge "ASoC: remove the usage of dev_set_name in msm-transcode-loopback"

qctecmdr 6 anni fa
parent
commit
34a3b04abc
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0 3
      asoc/msm-transcode-loopback-q6-v2.c

+ 0 - 3
asoc/msm-transcode-loopback-q6-v2.c

@@ -1594,10 +1594,7 @@ static struct snd_soc_component_driver msm_soc_component = {
 
 static int msm_transcode_dev_probe(struct platform_device *pdev)
 {
-
 	pr_debug("%s: dev name %s\n", __func__, dev_name(&pdev->dev));
-	if (pdev->dev.of_node)
-		dev_set_name(&pdev->dev, "%s", "msm-transcode-loopback");
 
 	return snd_soc_register_component(&pdev->dev,
 					&msm_soc_component,