summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-04-18 01:27:32 +0200
committerSimon Horman <horms+renesas@verge.net.au>2013-06-04 21:04:29 +0900
commit6c887d2c0918f37fd5fb2493c605bd73cb25e326 (patch)
treeab1a4fe4343a8987824742ae3f83df1402803ad7
parentf5c02edc51515ea0bcb461030d0a13f7af41e979 (diff)
downloadlinux-6c887d2c0918f37fd5fb2493c605bd73cb25e326.tar.gz
linux-6c887d2c0918f37fd5fb2493c605bd73cb25e326.tar.bz2
linux-6c887d2c0918f37fd5fb2493c605bd73cb25e326.zip
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>
-rw-r--r--arch/arm/mach-shmobile/board-bonito.c9
1 files changed, 0 insertions, 9 deletions
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
@@ -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
*/