ARM: shmobile: bonito: Remove empty core devices array
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 17 Apr 2013 23:27:32 +0000 (01:27 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 4 Jun 2013 12:04:29 +0000 (21:04 +0900)
The core devices array is empty, passing it to platform_add_devices() is
a no-op. Remove it.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-bonito.c

index 70d992c540aeb7b6cc599596d407b7403253b62d..b111c135c293a1484814ea2ebb36f762fb823c47 100644 (file)
@@ -330,12 +330,6 @@ static struct platform_device smsc_device = {
        .num_resources  = ARRAY_SIZE(smsc_resources),
 };
 
-/*
- * core board devices
- */
-static struct platform_device *bonito_core_devices[] __initdata = {
-};
-
 /*
  * base board devices
  */
@@ -397,9 +391,6 @@ static void __init bonito_init(void)
 
        r8a7740_add_standard_devices();
 
-       platform_add_devices(bonito_core_devices,
-                            ARRAY_SIZE(bonito_core_devices));
-
        /*
         * base board settings
         */