diff options
author | Kevin Hilman <khilman@deeprootsystems.com> | 2009-07-06 18:48:35 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-07-14 19:03:56 -0400 |
commit | e164ddeeb82920c5b1470b6585767a000c8b0e45 (patch) | |
tree | 6364fc34263736dfe1e04c731574f4edebdafe31 | |
parent | 6847e154e3cd74fca6084124c097980a7634285a (diff) |
i2c-davinci: convert clock usage after clkdev conversion
DaVinci core code has converted to the new clkdev API so
clock name strings are not needed. Instead, just the a
'struct device' pointer is needed.
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
-rw-r--r-- | drivers/i2c/busses/i2c-davinci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-davinci.c b/drivers/i2c/busses/i2c-davinci.c index 3fae3a91ce5b..ee3fbb8585fe 100644 --- a/drivers/i2c/busses/i2c-davinci.c +++ b/drivers/i2c/busses/i2c-davinci.c | |||
@@ -523,7 +523,7 @@ static int davinci_i2c_probe(struct platform_device *pdev) | |||
523 | dev->irq = irq->start; | 523 | dev->irq = irq->start; |
524 | platform_set_drvdata(pdev, dev); | 524 | platform_set_drvdata(pdev, dev); |
525 | 525 | ||
526 | dev->clk = clk_get(&pdev->dev, "I2CCLK"); | 526 | dev->clk = clk_get(&pdev->dev, NULL); |
527 | if (IS_ERR(dev->clk)) { | 527 | if (IS_ERR(dev->clk)) { |
528 | r = -ENODEV; | 528 | r = -ENODEV; |
529 | goto err_free_mem; | 529 | goto err_free_mem; |