ARM: ux500: Remove ux500-musb platform registation when booting with DT
authorLee Jones <lee.jones@linaro.org>
Wed, 15 May 2013 09:51:50 +0000 (10:51 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 4 Jun 2013 09:12:05 +0000 (11:12 +0200)
Now the ux500-musb driver has been enabled for Device Tree, there is no
requirement to register it from platform code.

Acked-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/cpu-db8500.c

index 959a105d2ba79d169f961a28487aa6e1c80df88d..fbe1fb88b3791d9304ae994bdc9661151976b8e8 100644 (file)
@@ -223,8 +223,6 @@ static struct device * __init u8500_of_init_devices(void)
 {
        struct device *parent = db8500_soc_device_init();
 
-       db8500_add_usb(parent, usb_db8500_dma_cfg, usb_db8500_dma_cfg);
-
        return parent;
 }