Commit 0a6c7f2f authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

ASoC: simple-card: code sync: use tag

simple sound card family are using very similar style, but because of its
historical reason, there are small differences. For example pointer style,
function name, caller postion etc...
This patch synchronized simple card style to other simple card family.

This patch uses tag on asoc_simple_card_probe
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 387f5823
...@@ -401,11 +401,11 @@ static int asoc_simple_card_probe(struct platform_device *pdev) ...@@ -401,11 +401,11 @@ static int asoc_simple_card_probe(struct platform_device *pdev)
return -ENOMEM; return -ENOMEM;
/* Init snd_soc_card */ /* Init snd_soc_card */
priv->snd_card.owner = THIS_MODULE;
priv->snd_card.dev = dev;
dai_link = priv->dai_link; dai_link = priv->dai_link;
priv->snd_card.dai_link = dai_link; priv->snd_card.owner = THIS_MODULE;
priv->snd_card.num_links = num_links; priv->snd_card.dev = dev;
priv->snd_card.dai_link = priv->dai_link;
priv->snd_card.num_links = num_links;
/* Get room for the other properties */ /* Get room for the other properties */
priv->dai_props = devm_kzalloc(dev, priv->dai_props = devm_kzalloc(dev,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment