summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-08-29 15:19:04 +0530
committerSimone Willett <swillett@nvidia.com>2012-08-29 13:42:13 -0700
commit29b248c4f6171b08dc84eda893b1bfffaaeb5cc4 (patch)
treee6effd504e9cb85ee77020eecc7c88656603cda7 /drivers
parent745ab307fb167c9baf4d671f3fa5836319d9469d (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')
-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 6c8b56221324..28896fdc5607 100644
--- a/drivers/i2c/busses/i2c-tegra.c
+++ b/drivers/i2c/busses/i2c-tegra.c
@@ -912,13 +912,13 @@ static int __devinit tegra_i2c_probe(struct platform_device *pdev)
}
irq = res->start;
- 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);
}
- 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);