summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/board-mop500-msp.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2012-09-14 15:43:52 +0100
committerLee Jones <lee.jones@linaro.org>2012-09-20 12:32:37 +0200
commit65b67d33fbce920d7c502a146504fcbb2db99e40 (patch)
treeca88b501d867fef0c62d1c1ee4d978bf788ac9a2 /arch/arm/mach-ux500/board-mop500-msp.c
parent9cf24b157c3c4e7bc4060668245dc4affba3dcfc (diff)
ARM: ux500: Clean-up MSP platform code
This patch contains a couple of general MSP clean-ups pertaining to layout changes and changing functions to be void instead of int instead of regardlessly returning '0'. Acked-by: Ola Lilja <ola.o.lilja@stericsson.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500-msp.c')
-rw-r--r--arch/arm/mach-ux500/board-mop500-msp.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/arch/arm/mach-ux500/board-mop500-msp.c b/arch/arm/mach-ux500/board-mop500-msp.c
index ace6c051bc1..dcf5ea9884f 100644
--- a/arch/arm/mach-ux500/board-mop500-msp.c
+++ b/arch/arm/mach-ux500/board-mop500-msp.c
@@ -143,11 +143,11 @@ static struct platform_device *db8500_add_msp_i2s(struct device *parent,
/* Platform device for ASoC MOP500 machine */
static struct platform_device snd_soc_mop500 = {
- .name = "snd-soc-mop500",
- .id = 0,
- .dev = {
- .platform_data = NULL,
- },
+ .name = "snd-soc-mop500",
+ .id = 0,
+ .dev = {
+ .platform_data = NULL,
+ },
};
/* Platform device for Ux500-PCM */
@@ -171,7 +171,7 @@ static struct msp_i2s_platform_data msp3_platform_data = {
.msp_i2s_dma_tx = NULL,
};
-int mop500_msp_init(struct device *parent)
+void mop500_msp_init(struct device *parent)
{
pr_info("%s: Register platform-device 'snd-soc-mop500'.\n", __func__);
platform_device_register(&snd_soc_mop500);
@@ -185,6 +185,4 @@ int mop500_msp_init(struct device *parent)
&msp2_platform_data);
db8500_add_msp_i2s(parent, 3, U8500_MSP3_BASE, IRQ_DB8500_MSP1,
&msp3_platform_data);
-
- return 0;
}