]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ASoC: simple-card: code sync: tidyup white line
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 26 Aug 2016 03:07:59 +0000 (03:07 +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 tidyups white line

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 7b0a56f78db0d3a0386ba7b07cd1493b51129752..7d15b5086c7af1ef56d68b4fcdab99c6f3f69fbb 100644 (file)
@@ -120,7 +120,7 @@ static int asoc_simple_card_startup(struct snd_pcm_substream *substream)
        ret = clk_prepare_enable(dai_props->cpu_dai.clk);
        if (ret)
                return ret;
-       
+
        ret = clk_prepare_enable(dai_props->codec_dai.clk);
        if (ret)
                clk_disable_unprepare(dai_props->cpu_dai.clk);
@@ -454,7 +454,6 @@ static int asoc_simple_card_probe(struct platform_device *pdev)
                                        sizeof(priv->dai_props->cpu_dai));
                memcpy(&priv->dai_props->codec_dai, &cinfo->codec_dai,
                                        sizeof(priv->dai_props->codec_dai));
-
        }
 
        snd_soc_card_set_drvdata(&priv->snd_card, priv);
@@ -462,9 +461,9 @@ static int asoc_simple_card_probe(struct platform_device *pdev)
        ret = devm_snd_soc_register_card(&pdev->dev, &priv->snd_card);
        if (ret >= 0)
                return ret;
-
 err:
        asoc_simple_card_clean_reference(&priv->snd_card);
+
        return ret;
 }