Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8d786748 authored by Xiaoyu Ye's avatar Xiaoyu Ye
Browse files

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



Remove the invocation of function dev_set_name from the driver
msm-transcode-loopback since it is not needed anymore.

Change-Id: If47a053ccec35b913b6cb2456bbfcec91933b0bf
Signed-off-by: default avatarXiaoyu Ye <benyxy@codeaurora.org>
parent 40c749da
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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,