ARM: ux500: Stop registering the MOP500 Audio driver from platform code
authorLee Jones <lee.jones@linaro.org>
Thu, 26 Jul 2012 16:43:13 +0000 (17:43 +0100)
committerLee Jones <lee.jones@linaro.org>
Thu, 20 Sep 2012 10:32:40 +0000 (12:32 +0200)
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>
arch/arm/mach-ux500/board-mop500-msp.c

index 1c60135abee8e3c4f9015f48984911a26d88a320..ddc74c574eaf452ef584cd8f5505b883ed812f26 100644 (file)
@@ -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);