Skip to content

Commit

Permalink
ASoC: Ux500: Minor coding layout changes
Browse files Browse the repository at this point in the history
Includes removal of duplicate debug print affirming entry into
the probe function, an unnecessary line break of a coding line
<80 chars and a white space change (unintentional tab).

Acked-by: Ola Lilja <ola.o.lilja@stericsson.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
  • Loading branch information
Lee Jones committed Sep 20, 2012
1 parent db5c811 commit 2087a69
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions sound/soc/ux500/mop500.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ static int __devinit mop500_probe(struct platform_device *pdev)
struct device_node *np = pdev->dev.of_node;
int ret;

pr_debug("%s: Enter.\n", __func__);

dev_dbg(&pdev->dev, "%s: Enter.\n", __func__);

mop500_card.dev = &pdev->dev;
Expand Down Expand Up @@ -117,8 +115,7 @@ static int __devinit mop500_probe(struct platform_device *pdev)
ret = snd_soc_register_card(&mop500_card);
if (ret)
dev_err(&pdev->dev,
"Error: snd_soc_register_card failed (%d)!\n",
ret);
"Error: snd_soc_register_card failed (%d)!\n", ret);

return ret;
}
Expand All @@ -131,7 +128,7 @@ static int __devexit mop500_remove(struct platform_device *pdev)

snd_soc_unregister_card(mop500_card);
mop500_ab8500_remove(mop500_card);

return 0;
}

Expand Down

0 comments on commit 2087a69

Please sign in to comment.