From: magnus.damm@gmail.com (Magnus Damm)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: shmobile: Remove Koelsch DT reference legacy clock bits
Date: Mon, 17 Feb 2014 16:21:28 +0900 [thread overview]
Message-ID: <20140217072128.27086.81905.sendpatchset@w520> (raw)
From: Magnus Damm <damm@opensource.se>
Koelsch DT reference is these days built for multiplatform
only which means that CCF comes with the package. Remove
unused legacy code ifdefs to clean up the code.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
Written against renesas-devel-v3.14-rc3-20140217
arch/arm/mach-shmobile/board-koelsch-reference.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
--- 0001/arch/arm/mach-shmobile/board-koelsch-reference.c
+++ work/arch/arm/mach-shmobile/board-koelsch-reference.c 2014-02-17 16:10:07.000000000 +0900
@@ -84,7 +84,6 @@ static void __init koelsch_add_du_device
static void __init koelsch_add_standard_devices(void)
{
-#ifdef CONFIG_COMMON_CLK
/*
* This is a really crude hack to provide clkdev support to the CMT and
* DU devices until they get moved to DT.
@@ -125,9 +124,7 @@ static void __init koelsch_add_standard_
clk_put(clk);
}
}
-#else
- r8a7791_clock_init();
-#endif
+
r8a7791_add_dt_devices();
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
next reply other threads:[~2014-02-17 7:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-17 7:21 Magnus Damm [this message]
2014-02-17 11:07 ` [PATCH] ARM: shmobile: Remove Koelsch DT reference legacy clock bits Laurent Pinchart
2014-02-18 0:11 ` 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=20140217072128.27086.81905.sendpatchset@w520 \
--to=magnus.damm@gmail.com \
--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