From: swarren@nvidia.com (Stephen Warren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/5] ARM: Tegra: Rename clk_dev1/2 to cdev1/2
Date: Wed, 23 Feb 2011 11:58:50 -0700 [thread overview]
Message-ID: <1298487532-5000-4-git-send-email-swarren@nvidia.com> (raw)
In-Reply-To: <1298487532-5000-1-git-send-email-swarren@nvidia.com>
The ASoC machine driver was written assuming my previous patch to add
complete support for these clocks, which named them cdev1/2. Rename
the clocks to match that, to avoid churn in the ASoC driver.
This rename also makes the clocks more consistent with other Tegra
clocks irrespective of any of that.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
NOTE: This patch should apply right now.
arch/arm/mach-tegra/tegra2_clocks.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm/mach-tegra/tegra2_clocks.c b/arch/arm/mach-tegra/tegra2_clocks.c
index ee3f9d7..6d7c4ee 100644
--- a/arch/arm/mach-tegra/tegra2_clocks.c
+++ b/arch/arm/mach-tegra/tegra2_clocks.c
@@ -1823,8 +1823,8 @@ static struct clk tegra_clk_d = {
};
/* dap_mclk1, belongs to the cdev1 pingroup. */
-static struct clk tegra_dev1_clk = {
- .name = "clk_dev1",
+static struct clk tegra_clk_cdev1 = {
+ .name = "cdev1",
.ops = &tegra_cdev_clk_ops,
.rate = 26000000,
.max_rate = 26000000,
@@ -1834,8 +1834,8 @@ static struct clk tegra_dev1_clk = {
};
/* dap_mclk2, belongs to the cdev2 pingroup. */
-static struct clk tegra_dev2_clk = {
- .name = "clk_dev2",
+static struct clk tegra_clk_cdev2 = {
+ .name = "cdev2",
.ops = &tegra_cdev_clk_ops,
.rate = 26000000,
.max_rate = 26000000,
@@ -2276,8 +2276,8 @@ struct clk *tegra_ptr_clks[] = {
&tegra_clk_hclk,
&tegra_clk_pclk,
&tegra_clk_d,
- &tegra_dev1_clk,
- &tegra_dev2_clk,
+ &tegra_clk_cdev1,
+ &tegra_clk_cdev2,
&tegra_clk_virtual_cpu,
&tegra_clk_blink,
&tegra_clk_cop,
--
1.7.1
next prev parent reply other threads:[~2011-02-23 18:58 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-23 18:58 [PATCH 0/5] ARM: Tegra: Harmony: Enable audio driver Stephen Warren
2011-02-23 18:58 ` [PATCH 1/5] ARM: Tegra: Add devices.c entries for audio Stephen Warren
2011-02-23 21:04 ` Colin Cross
2011-02-23 18:58 ` [PATCH 2/5] ARM: Tegra: Rename I2S clocks to match driver name Stephen Warren
2011-02-23 21:06 ` Colin Cross
2011-02-23 18:58 ` Stephen Warren [this message]
2011-02-23 21:06 ` [PATCH 3/5] ARM: Tegra: Rename clk_dev1/2 to cdev1/2 Colin Cross
2011-02-23 18:58 ` [PATCH 4/5] ARM: Tegra: Create defines for GPIO names Stephen Warren
2011-02-23 19:08 ` Colin Cross
2011-02-23 20:35 ` Stephen Warren
2011-02-23 20:39 ` Colin Cross
2011-02-23 20:49 ` Stephen Warren
2011-02-23 20:58 ` Colin Cross
2011-02-23 18:58 ` [PATCH 5/5] ARM: Tegra: Enable Harmony audio support Stephen Warren
2011-02-23 21:08 ` Colin Cross
2011-02-23 21:16 ` Stephen Warren
2011-02-23 21:19 ` Colin Cross
2011-02-23 21:08 ` Olof Johansson
2011-02-23 21:15 ` Colin Cross
2011-02-23 21:21 ` Olof Johansson
2011-02-23 21:22 ` Stephen Warren
2011-02-23 21:25 ` Olof Johansson
2011-02-23 21:21 ` Colin Cross
2011-02-23 21:24 ` Olof Johansson
2011-02-23 21:35 ` Stephen Warren
2011-02-23 21:51 ` Olof Johansson
2011-02-23 21:54 ` Stephen Warren
2011-02-23 22:48 ` Russell King - ARM Linux
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=1298487532-5000-4-git-send-email-swarren@nvidia.com \
--to=swarren@nvidia.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;
as well as URLs for NNTP newsgroup(s).