From: Kevin Hilman Date: Mon, 6 Jul 2009 12:26:16 +0000 (+0000) Subject: IDE: palm_bk3710: convert clock usage after clkdev conversion X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=468b5ef8a8f67a780dd5f51410f8c92761b36f06;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: Sergei Shtylyov Signed-off-by: David S. Miller --- diff --git a/drivers/ide/palm_bk3710.c b/drivers/ide/palm_bk3710.c index 3c1dc0152153..f8eddf05ecb8 100644 --- a/drivers/ide/palm_bk3710.c +++ b/drivers/ide/palm_bk3710.c @@ -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;