projects
/
profile
/
common
/
platform
/
kernel
/
linux-artik7.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8623916
)
ARM: clps711x: edb7211: Remove excess layer to calling clps711x_devices_init()
author
Alexander Shiyan
<shc_work@mail.ru>
Thu, 19 Jun 2014 15:26:37 +0000
(19:26 +0400)
committer
Olof Johansson
<olof@lixom.net>
Sun, 6 Jul 2014 23:52:24 +0000
(16:52 -0700)
clps711x_devices_init() can be used directly in ".machine_init"
without any intermediate function.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-clps711x/board-edb7211.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-clps711x/board-edb7211.c
b/arch/arm/mach-clps711x/board-edb7211.c
index
7ad94ff
..
e6e0609
100644
(file)
--- a/
arch/arm/mach-clps711x/board-edb7211.c
+++ b/
arch/arm/mach-clps711x/board-edb7211.c
@@
-148,11
+148,6
@@
fixup_edb7211(struct tag *tags, char **cmdline)
memblock_add(0xc1000000, SZ_8M);
}
-static void __init edb7211_init(void)
-{
- clps711x_devices_init();
-}
-
static void __init edb7211_init_late(void)
{
gpio_request_array(edb7211_gpios, ARRAY_SIZE(edb7211_gpios));
@@
-180,7
+175,7
@@
MACHINE_START(EDB7211, "CL-EDB7211 (EP7211 eval board)")
.map_io = clps711x_map_io,
.init_irq = clps711x_init_irq,
.init_time = clps711x_timer_init,
- .init_machine =
edb7211
_init,
+ .init_machine =
clps711x_devices
_init,
.init_late = edb7211_init_late,
.restart = clps711x_restart,
MACHINE_END