IDE: palm_bk3710: convert clock usage after clkdev conversion
authorKevin Hilman <khilman@deeprootsystems.com>
Mon, 6 Jul 2009 12:26:16 +0000 (12:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Aug 2009 01:55:08 +0000 (18:55 -0700)
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>
drivers/ide/palm_bk3710.c

index 3c1dc015215351ed1cf43e00c8fb85b859ff22d0..f8eddf05ecb8533ebca9e9134c56c097a65170bd 100644 (file)
@@ -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;