[PATCH 14/18] ARM: ux500: Stop registering the PCM driver from platform code

2012-07-27 Thread Lee Jones
In this patch we prevent PCM driver registration from platform
code and rely solely on Device Tree to do the probing for us.

Signed-off-by: Lee Jones 
---
 arch/arm/mach-ux500/board-mop500-msp.c |3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/arm/mach-ux500/board-mop500-msp.c 
b/arch/arm/mach-ux500/board-mop500-msp.c
index 1a83fa5..391c129 100644
--- a/arch/arm/mach-ux500/board-mop500-msp.c
+++ b/arch/arm/mach-ux500/board-mop500-msp.c
@@ -186,9 +186,6 @@ void mop500_of_msp_init(struct device *parent)
   _platform_data);
db8500_add_msp_i2s(parent, 3, U8500_MSP3_BASE, IRQ_DB8500_MSP1,
   _platform_data);
-
-   pr_info("%s: Register platform-device 'ux500-pcm'\n", __func__);
-   platform_device_register(_pcm);
 }
 
 void mop500_msp_init(struct device *parent)
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 14/18] ARM: ux500: Stop registering the PCM driver from platform code

2012-07-27 Thread Lee Jones
In this patch we prevent PCM driver registration from platform
code and rely solely on Device Tree to do the probing for us.

Signed-off-by: Lee Jones lee.jo...@linaro.org
---
 arch/arm/mach-ux500/board-mop500-msp.c |3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/arm/mach-ux500/board-mop500-msp.c 
b/arch/arm/mach-ux500/board-mop500-msp.c
index 1a83fa5..391c129 100644
--- a/arch/arm/mach-ux500/board-mop500-msp.c
+++ b/arch/arm/mach-ux500/board-mop500-msp.c
@@ -186,9 +186,6 @@ void mop500_of_msp_init(struct device *parent)
   msp2_platform_data);
db8500_add_msp_i2s(parent, 3, U8500_MSP3_BASE, IRQ_DB8500_MSP1,
   msp3_platform_data);
-
-   pr_info(%s: Register platform-device 'ux500-pcm'\n, __func__);
-   platform_device_register(ux500_pcm);
 }
 
 void mop500_msp_init(struct device *parent)
-- 
1.7.9.5

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/