aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/i2c/busses/i2c-davinci.c2
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;