summaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-08-29 15:19:04 +0530
committerVarun Wadekar <vwadekar@nvidia.com>2012-08-31 10:17:42 +0530
commit2754047805c5598355a8a058886716b9ac0bf307 (patch)
tree81077dac17f97596188dfeda845d4737cdadd8e8 /drivers/i2c
parentb327819b540a81c2b99f4e4445b014a7c10f20da (diff)
i2c: tegra: rename fast clock and div clock
Rename fast clock to "fast-clk" and div clock to "div-clk" in driver and clock table to have aligned with mainline as: This is based on change: --------- commit f16e6e77a105ec53496f0d8343895da342917873 Author: Laxman Dewangan <ldewangan@nvidia.com> i2c: tegra: pass proper name for getting clock --------- Change-Id: Ie9a1972a18e2e60ac7c84c4509860cf72405ef16 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/128150
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-tegra.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c
index 7ca36b0b905d..ee367167f571 100644
--- a/drivers/i2c/busses/i2c-tegra.c
+++ b/drivers/i2c/busses/i2c-tegra.c
@@ -1037,14 +1037,14 @@ static int __devinit tegra_i2c_probe(struct platform_device *pdev)
return -ENOMEM;
}
- div_clk = devm_clk_get(&pdev->dev, "i2c-div");
+ div_clk = devm_clk_get(&pdev->dev, "div-clk");
if (IS_ERR(div_clk)) {
dev_err(&pdev->dev, "missing controller clock");
return PTR_ERR(div_clk);
}
if (i2c_dev->chipdata->has_fast_clock) {
- fast_clk = devm_clk_get(&pdev->dev, "i2c-fast");
+ fast_clk = devm_clk_get(&pdev->dev, "fast-clk");
if (IS_ERR(fast_clk)) {
dev_err(&pdev->dev, "missing controller fast clock");
return PTR_ERR(fast_clk);