summary refs log tree commit diff
path: root/arch/arm/mach-ux500
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2012-07-26 17:43:13 +0100
committerLee Jones <lee.jones@linaro.org>2012-09-20 12:32:40 +0200
commit2aed23d3e84aab9f0f066f31db5f6927c067d076 (patch)
treed3bd3aa2bf77720bb32f165c585cd8217573d5ed /arch/arm/mach-ux500
parent724ebbf4cf248cd747b29fe91ecc96de302a469a (diff)
downloadlinux-2aed23d3e84aab9f0f066f31db5f6927c067d076.tar.gz
ARM: ux500: Stop registering the MOP500 Audio driver from platform code
In this patch we prevent MOP500 driver registration from platform
code and rely solely on Device Tree to do the probing for us.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500')
-rw-r--r--arch/arm/mach-ux500/board-mop500-msp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-ux500/board-mop500-msp.c b/arch/arm/mach-ux500/board-mop500-msp.c
index 1c60135abee8..ddc74c574eaf 100644
--- a/arch/arm/mach-ux500/board-mop500-msp.c
+++ b/arch/arm/mach-ux500/board-mop500-msp.c
@@ -174,9 +174,6 @@ struct msp_i2s_platform_data msp3_platform_data = {
 /* Due for removal once the MSP driver has been fully DT:ed. */
 void mop500_of_msp_init(struct device *parent)
 {
-	pr_info("%s: Register platform-device 'snd-soc-u8500'.\n", __func__);
-	platform_device_register(&snd_soc_mop500);
-
 	pr_info("Initialize MSP I2S-devices.\n");
 	db8500_add_msp_i2s(parent, 0, U8500_MSP0_BASE, IRQ_DB8500_MSP0,
 			   &msp0_platform_data);