public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] ARM: shmobile: Minor cleanup of the Armadillo legacy board code
@ 2014-05-07 23:37 Magnus Damm
  2014-05-11  1:05 ` Simon Horman
  0 siblings, 1 reply; 3+ messages in thread
From: Magnus Damm @ 2014-05-07 23:37 UTC (permalink / raw)
  To: linux-arm-kernel

From: Magnus Damm <damm+renesas@opensource.se>

Cleanup the legacy Armadillo board code slightly by
removing the pointless eva_add_early_devices() function

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
---

 Written against renesas-devel-v3.15-rc3-20140502

 arch/arm/mach-shmobile/board-armadillo800eva.c |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

--- 0001/arch/arm/mach-shmobile/board-armadillo800eva.c
+++ work/arch/arm/mach-shmobile/board-armadillo800eva.c	2014-04-24 18:11:16.000000000 +0900
@@ -1300,11 +1300,6 @@ static void __init eva_earlytimer_init(v
 	eva_clock_init();
 }
 
-static void __init eva_add_early_devices(void)
-{
-	r8a7740_add_early_devices();
-}
-
 #define RESCNT2 IOMEM(0xe6188020)
 static void eva_restart(enum reboot_mode mode, const char *cmd)
 {
@@ -1319,7 +1314,7 @@ static const char *eva_boards_compat_dt[
 
 DT_MACHINE_START(ARMADILLO800EVA_DT, "armadillo800eva")
 	.map_io		= r8a7740_map_io,
-	.init_early	= eva_add_early_devices,
+	.init_early	= r8a7740_add_early_devices,
 	.init_irq	= r8a7740_init_irq_of,
 	.init_machine	= eva_init,
 	.init_late	= shmobile_init_late,

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] ARM: shmobile: Minor cleanup of the Armadillo legacy board code
  2014-05-07 23:37 [PATCH] ARM: shmobile: Minor cleanup of the Armadillo legacy board code Magnus Damm
@ 2014-05-11  1:05 ` Simon Horman
  0 siblings, 0 replies; 3+ messages in thread
From: Simon Horman @ 2014-05-11  1:05 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, May 08, 2014 at 08:37:53AM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm+renesas@opensource.se>
> 
> Cleanup the legacy Armadillo board code slightly by
> removing the pointless eva_add_early_devices() function
> 
> Signed-off-by: Magnus Damm <damm+renesas@opensource.se>

Thanks, I have queued this up.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] ARM: shmobile: Minor cleanup of the Armadillo legacy board code
  2014-05-14  7:26 [GIT PULL] Second Round of Renesas ARM Based SoC Boards Updates for v3.16 Simon Horman
@ 2014-05-14  7:26 ` Simon Horman
  0 siblings, 0 replies; 3+ messages in thread
From: Simon Horman @ 2014-05-14  7:26 UTC (permalink / raw)
  To: linux-arm-kernel

From: Magnus Damm <damm+renesas@opensource.se>

Cleanup the legacy Armadillo board code slightly by
removing the pointless eva_add_early_devices() function

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/mach-shmobile/board-armadillo800eva.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/arch/arm/mach-shmobile/board-armadillo800eva.c b/arch/arm/mach-shmobile/board-armadillo800eva.c
index 2858f38..4eb9a13 100644
--- a/arch/arm/mach-shmobile/board-armadillo800eva.c
+++ b/arch/arm/mach-shmobile/board-armadillo800eva.c
@@ -1299,11 +1299,6 @@ static void __init eva_earlytimer_init(void)
 	eva_clock_init();
 }
 
-static void __init eva_add_early_devices(void)
-{
-	r8a7740_add_early_devices();
-}
-
 #define RESCNT2 IOMEM(0xe6188020)
 static void eva_restart(enum reboot_mode mode, const char *cmd)
 {
@@ -1318,7 +1313,7 @@ static const char *eva_boards_compat_dt[] __initdata = {
 
 DT_MACHINE_START(ARMADILLO800EVA_DT, "armadillo800eva")
 	.map_io		= r8a7740_map_io,
-	.init_early	= eva_add_early_devices,
+	.init_early	= r8a7740_add_early_devices,
 	.init_irq	= r8a7740_init_irq_of,
 	.init_machine	= eva_init,
 	.init_late	= shmobile_init_late,
-- 
1.8.5.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-14  7:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-07 23:37 [PATCH] ARM: shmobile: Minor cleanup of the Armadillo legacy board code Magnus Damm
2014-05-11  1:05 ` Simon Horman
  -- strict thread matches above, loose matches on Subject: below --
2014-05-14  7:26 [GIT PULL] Second Round of Renesas ARM Based SoC Boards Updates for v3.16 Simon Horman
2014-05-14  7:26 ` [PATCH] ARM: shmobile: Minor cleanup of the Armadillo legacy board code Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox