| From 0f8adf43ba5d4cafb23900f08eb1d3a11a3361b6 Mon Sep 17 00:00:00 2001 |
| From: Simon Horman <horms+renesas@verge.net.au> |
| Date: Fri, 16 May 2014 13:43:01 +0900 |
| Subject: ARM: shmobile: r8a7779: Remove unused r8a7779_init_delay() |
| |
| Remove the now unused r8a7779_init_delay() function. |
| |
| Based on work for the r8a7740 SoC by Magnus Damm. |
| |
| Cc: Magnus Damm <damm+renesas@opensource.se> |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| (cherry picked from commit daab540e3a2afeb8c087a67dfaee5aa50a29e844) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| arch/arm/mach-shmobile/include/mach/r8a7779.h | 1 - |
| arch/arm/mach-shmobile/setup-r8a7779.c | 5 ----- |
| 2 files changed, 6 deletions(-) |
| |
| diff --git a/arch/arm/mach-shmobile/include/mach/r8a7779.h b/arch/arm/mach-shmobile/include/mach/r8a7779.h |
| index 5ef0bad6334d..5415c719dc19 100644 |
| --- a/arch/arm/mach-shmobile/include/mach/r8a7779.h |
| +++ b/arch/arm/mach-shmobile/include/mach/r8a7779.h |
| @@ -10,7 +10,6 @@ enum { |
| HPBDMA_SLAVE_SDHI0_RX, |
| }; |
| |
| -extern void r8a7779_init_delay(void); |
| extern void r8a7779_init_irq_extpin(int irlm); |
| extern void r8a7779_init_irq_extpin_dt(int irlm); |
| extern void r8a7779_init_irq_dt(void); |
| diff --git a/arch/arm/mach-shmobile/setup-r8a7779.c b/arch/arm/mach-shmobile/setup-r8a7779.c |
| index a03bfec15d96..c10ded91f477 100644 |
| --- a/arch/arm/mach-shmobile/setup-r8a7779.c |
| +++ b/arch/arm/mach-shmobile/setup-r8a7779.c |
| @@ -737,11 +737,6 @@ void __init r8a7779_init_irq_dt(void) |
| __raw_writel(0x003fee3f, INT2SMSKCR4); |
| } |
| |
| -void __init r8a7779_init_delay(void) |
| -{ |
| - shmobile_setup_delay(1000, 2, 4); /* Cortex-A9 @ 1000MHz */ |
| -} |
| - |
| void __init r8a7779_add_standard_devices_dt(void) |
| { |
| platform_add_devices(r8a7779_devices_dt, |
| -- |
| 2.1.2 |
| |