OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6847e15
)
i2c-davinci: convert clock usage after clkdev conversion
author
Kevin Hilman
<khilman@deeprootsystems.com>
Mon, 6 Jul 2009 22:48:35 +0000
(15:48 -0700)
committer
Ben Dooks
<ben-linux@fluff.org>
Tue, 14 Jul 2009 23:03:56 +0000
(
00:03
+0100)
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>
drivers/i2c/busses/i2c-davinci.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/busses/i2c-davinci.c
b/drivers/i2c/busses/i2c-davinci.c
index
3fae3a9
..
ee3fbb8
100644
(file)
--- 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)
dev->irq = irq->start;
platform_set_drvdata(pdev, dev);
- dev->clk = clk_get(&pdev->dev,
"I2CCLK"
);
+ dev->clk = clk_get(&pdev->dev,
NULL
);
if (IS_ERR(dev->clk)) {
r = -ENODEV;
goto err_free_mem;