| From e2e7f309ba49b69a1cbfec76b2f5a11cd47c73ea Mon Sep 17 00:00:00 2001 |
| From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> |
| Date: Thu, 18 Apr 2013 01:27:32 +0200 |
| Subject: 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 <laurent.pinchart+renesas@ideasonboard.com> |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| (cherry picked from commit 6c887d2c0918f37fd5fb2493c605bd73cb25e326) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| arch/arm/mach-shmobile/board-bonito.c | 9 --------- |
| 1 file changed, 9 deletions(-) |
| |
| diff --git a/arch/arm/mach-shmobile/board-bonito.c b/arch/arm/mach-shmobile/board-bonito.c |
| index 70d992c5..b111c135 100644 |
| --- a/arch/arm/mach-shmobile/board-bonito.c |
| +++ b/arch/arm/mach-shmobile/board-bonito.c |
| @@ -331,12 +331,6 @@ static struct platform_device smsc_device = { |
| }; |
| |
| /* |
| - * core board devices |
| - */ |
| -static struct platform_device *bonito_core_devices[] __initdata = { |
| -}; |
| - |
| -/* |
| * base board devices |
| */ |
| static struct platform_device *bonito_base_devices[] __initdata = { |
| @@ -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 |
| */ |
| -- |
| 1.8.4.3.gca3854a |
| |