From: Simon Horman Date: Mon, 7 Jul 2014 07:54:39 +0000 (+0200) Subject: ARM: shmobile: r8a73a4: Remove empty r8a73a4_add_dt_devices X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=fd3edcbe9f7bf24b13cadca7616f8e10bbe7e2b3;p=deliverable%2Flinux.git ARM: shmobile: r8a73a4: Remove empty r8a73a4_add_dt_devices r8a73a4_add_dt_devices() no longer enables any devices so remove it. Signed-off-by: Simon Horman --- diff --git a/arch/arm/mach-shmobile/board-ape6evm-reference.c b/arch/arm/mach-shmobile/board-ape6evm-reference.c index a6503d8c77de..7c7c6f7cb0e3 100644 --- a/arch/arm/mach-shmobile/board-ape6evm-reference.c +++ b/arch/arm/mach-shmobile/board-ape6evm-reference.c @@ -48,7 +48,6 @@ static void __init ape6evm_add_standard_devices(void) clk_put(parent); clk_put(mp); - r8a73a4_add_dt_devices(); of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); } diff --git a/arch/arm/mach-shmobile/r8a73a4.h b/arch/arm/mach-shmobile/r8a73a4.h index 5fafd6fcedf7..70dcd847a86e 100644 --- a/arch/arm/mach-shmobile/r8a73a4.h +++ b/arch/arm/mach-shmobile/r8a73a4.h @@ -11,7 +11,6 @@ enum { }; void r8a73a4_add_standard_devices(void); -void r8a73a4_add_dt_devices(void); void r8a73a4_clock_init(void); void r8a73a4_pinmux_init(void); diff --git a/arch/arm/mach-shmobile/setup-r8a73a4.c b/arch/arm/mach-shmobile/setup-r8a73a4.c index 3b7efc04e2f5..179f28a2f794 100644 --- a/arch/arm/mach-shmobile/setup-r8a73a4.c +++ b/arch/arm/mach-shmobile/setup-r8a73a4.c @@ -187,10 +187,6 @@ static struct resource cmt1_resources[] = { &cmt##idx##_platform_data, \ sizeof(struct sh_timer_config)) -void __init r8a73a4_add_dt_devices(void) -{ -} - /* DMA */ static const struct sh_dmae_slave_config dma_slaves[] = { {