]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ASoC: simple-card: code sync: use tag
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 26 Aug 2016 03:08:25 +0000 (03:08 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 1 Sep 2016 20:22:59 +0000 (21:22 +0100)
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>
sound/soc/generic/simple-card.c

index 7d15b5086c7af1ef56d68b4fcdab99c6f3f69fbb..c17f8511ffa8d362abc2cf34aee8ef1d4b1e7e52 100644 (file)
@@ -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,