summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2016-08-26 03:08:25 +0000
committerMark Brown <broonie@kernel.org>2016-09-01 21:22:59 +0100
commit0a6c7f2f7890796209896c2239420c8a38dacb60 (patch)
treea574fe201a4550491bfea3088530efcbbd933c5f
parent387f5823f400445ed0152bfa06eef50a382b9219 (diff)
downloadop-kernel-dev-0a6c7f2f7890796209896c2239420c8a38dacb60.zip
op-kernel-dev-0a6c7f2f7890796209896c2239420c8a38dacb60.tar.gz
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: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/generic/simple-card.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c
index 7d15b50..c17f851 100644
--- a/sound/soc/generic/simple-card.c
+++ b/sound/soc/generic/simple-card.c
@@ -401,11 +401,11 @@ static int asoc_simple_card_probe(struct platform_device *pdev)
return -ENOMEM;
/* Init snd_soc_card */
- priv->snd_card.owner = THIS_MODULE;
- priv->snd_card.dev = dev;
dai_link = priv->dai_link;
- priv->snd_card.dai_link = dai_link;
- priv->snd_card.num_links = num_links;
+ priv->snd_card.owner = THIS_MODULE;
+ 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 */
priv->dai_props = devm_kzalloc(dev,
OpenPOWER on IntegriCloud