From: shc_work@mail.ru (Alexander Shiyan)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH RESEND 5/5] ARM: clps711x: edb7211: Remove excess layer to calling clps711x_devices_init()
Date: Thu, 19 Jun 2014 19:26:37 +0400 [thread overview]
Message-ID: <1403191597-28460-5-git-send-email-shc_work@mail.ru> (raw)
In-Reply-To: <1403191597-28460-1-git-send-email-shc_work@mail.ru>
clps711x_devices_init() can be used directly in ".machine_init"
without any intermediate function.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
arch/arm/mach-clps711x/board-edb7211.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/arch/arm/mach-clps711x/board-edb7211.c b/arch/arm/mach-clps711x/board-edb7211.c
index 7ad94ff..e6e0609 100644
--- 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
--
1.8.5.5
prev parent reply other threads:[~2014-06-19 15:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-19 15:26 [PATCH RESEND 1/5] ARM: clps711x: Remove IO_ADDRESS() macro Alexander Shiyan
2014-06-19 15:26 ` [PATCH RESEND 2/5] ARM: clps711x: Move debug include into arch/arm/include/debug/ Alexander Shiyan
2014-06-19 15:26 ` [PATCH RESEND 3/5] ARM: clps711x: Switch CLPS711X subarch to use cpuidle driver Alexander Shiyan
2014-06-19 15:26 ` [PATCH RESEND 4/5] ARM: clps711x: clep7312: Add common devices initialization Alexander Shiyan
2014-06-19 15:26 ` Alexander Shiyan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1403191597-28460-5-git-send-email-shc_work@mail.ru \
--to=shc_work@mail.ru \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).