From: wsa@the-dreams.de (Wolfram Sang)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/5] ARM: shmobile: genmai-reference: Remove legacy clock support
Date: Fri, 16 May 2014 14:10:13 +0200 [thread overview]
Message-ID: <1400242216-20848-3-git-send-email-wsa@the-dreams.de> (raw)
In-Reply-To: <1400242216-20848-1-git-send-email-wsa@the-dreams.de>
From: Wolfram Sang <wsa+renesas@sang-engineering.com>
genmai-reference is now only built for multiplatform which means that
CCF comes with the package. Remove unused legacy code ifdefs to clean up
the code.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
arch/arm/mach-shmobile/board-genmai-reference.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/arch/arm/mach-shmobile/board-genmai-reference.c b/arch/arm/mach-shmobile/board-genmai-reference.c
index 33015e5ed52a..968bbba20d08 100644
--- a/arch/arm/mach-shmobile/board-genmai-reference.c
+++ b/arch/arm/mach-shmobile/board-genmai-reference.c
@@ -26,7 +26,6 @@
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
-#ifdef CONFIG_COMMON_CLK
/*
* This is a really crude hack to provide clkdev support to platform
* devices until they get moved to DT.
@@ -34,15 +33,10 @@
static const struct clk_name clk_names[] = {
{ "mtu2", "fck", "sh-mtu2" },
};
-#endif
static void __init genmai_add_standard_devices(void)
{
-#ifdef CONFIG_COMMON_CLK
shmobile_clk_workaround(clk_names, ARRAY_SIZE(clk_names), true);
-#else
- r7s72100_clock_init();
-#endif
r7s72100_add_dt_devices();
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
}
--
1.9.2
next prev parent reply other threads:[~2014-05-16 12:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-16 12:10 [PATCH 0/5] remove Genmai Reference from Legacy support Wolfram Sang
2014-05-16 12:10 ` [PATCH 1/5] ARM: shmobile: Remove non-multiplatform Genmai reference support Wolfram Sang
2014-05-16 12:10 ` Wolfram Sang [this message]
2014-05-16 12:10 ` [PATCH 3/5] ARM: shmobile: Sync Genmai DTS with Genmai reference DTS Wolfram Sang
2014-05-16 12:10 ` [PATCH 4/5] ARM: shmobile: Let Genmai multiplatform boot with Genmai DTB Wolfram Sang
2014-05-16 12:25 ` Geert Uytterhoeven
2014-05-16 23:59 ` Simon Horman
2014-05-16 12:10 ` [PATCH 5/5] ARM: shmobile: Remove Genmai reference DTS Wolfram Sang
2014-05-16 12:22 ` [PATCH 0/5] remove Genmai Reference from Legacy support Geert Uytterhoeven
2014-05-17 0:24 ` Simon Horman
2014-05-17 1:28 ` Simon Horman
-- strict thread matches above, loose matches on Subject: below --
2014-05-17 1:24 [GIT PULL] Second Round of Renesas ARM Based SoC r7s72100-ccf Updates for v3.16 Simon Horman
2014-05-17 1:24 ` [PATCH 2/5] ARM: shmobile: genmai-reference: Remove legacy clock support Simon Horman
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=1400242216-20848-3-git-send-email-wsa@the-dreams.de \
--to=wsa@the-dreams.de \
--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).