From: Laurent Pinchart Date: Wed, 17 Apr 2013 23:27:32 +0000 (+0200) Subject: ARM: shmobile: bonito: Remove empty core devices array X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6c887d2c0918f37fd5fb2493c605bd73cb25e326;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ARM: shmobile: bonito: Remove empty core devices array The core devices array is empty, passing it to platform_add_devices() is a no-op. Remove it. Signed-off-by: Laurent Pinchart Signed-off-by: Simon Horman --- diff --git a/arch/arm/mach-shmobile/board-bonito.c b/arch/arm/mach-shmobile/board-bonito.c index 70d992c540ae..b111c135c293 100644 --- a/arch/arm/mach-shmobile/board-bonito.c +++ b/arch/arm/mach-shmobile/board-bonito.c @@ -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 */