ASoC: Ux500: Minor coding layout changes
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>
This commit is contained in:
parent
db5c811d40
commit
2087a692a5
|
@ -88,8 +88,6 @@ static int __devinit mop500_probe(struct platform_device *pdev)
|
||||||
struct device_node *np = pdev->dev.of_node;
|
struct device_node *np = pdev->dev.of_node;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
pr_debug("%s: Enter.\n", __func__);
|
|
||||||
|
|
||||||
dev_dbg(&pdev->dev, "%s: Enter.\n", __func__);
|
dev_dbg(&pdev->dev, "%s: Enter.\n", __func__);
|
||||||
|
|
||||||
mop500_card.dev = &pdev->dev;
|
mop500_card.dev = &pdev->dev;
|
||||||
|
@ -117,8 +115,7 @@ static int __devinit mop500_probe(struct platform_device *pdev)
|
||||||
ret = snd_soc_register_card(&mop500_card);
|
ret = snd_soc_register_card(&mop500_card);
|
||||||
if (ret)
|
if (ret)
|
||||||
dev_err(&pdev->dev,
|
dev_err(&pdev->dev,
|
||||||
"Error: snd_soc_register_card failed (%d)!\n",
|
"Error: snd_soc_register_card failed (%d)!\n", ret);
|
||||||
ret);
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
@ -131,7 +128,7 @@ static int __devexit mop500_remove(struct platform_device *pdev)
|
||||||
|
|
||||||
snd_soc_unregister_card(mop500_card);
|
snd_soc_unregister_card(mop500_card);
|
||||||
mop500_ab8500_remove(mop500_card);
|
mop500_ab8500_remove(mop500_card);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue