mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
IDE: palm_bk3710: 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> Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
665d66e8fa
commit
468b5ef8a8
@ -318,7 +318,7 @@ static int __init palm_bk3710_probe(struct platform_device *pdev)
|
||||
int i, rc;
|
||||
struct ide_hw hw, *hws[] = { &hw };
|
||||
|
||||
clk = clk_get(&pdev->dev, "IDECLK");
|
||||
clk = clk_get(&pdev->dev, NULL);
|
||||
if (IS_ERR(clk))
|
||||
return -ENODEV;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user